1
This commit is contained in:
16
Yes.Domain/Core/Exceptions/PageNotFoundException.cs
Normal file
16
Yes.Domain/Core/Exceptions/PageNotFoundException.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
namespace Yes.Domain.Core.Exceptions
|
||||
{
|
||||
|
||||
public class PageNotFoundException : BaseException
|
||||
{
|
||||
public PageNotFoundException(string url) : base($"未找到您访问的页面 {url}!")
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public PageNotFoundException() : base($"未找到您访问的页面!")
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user