示例#1
0
 internal MethodNotAllowedException(ApiError apiError)
     : base((int)System.Net.HttpStatusCode.MethodNotAllowed, apiError)
 {
 }
 internal NotFoundErrorException(ApiError apiError)
     : base((int)System.Net.HttpStatusCode.NotFound, apiError)
 {
 }
 internal DuplicatedErrorException(ApiError apiError)
     : base((int)System.Net.HttpStatusCode.BadRequest, apiError)
 {
 }
示例#4
0
 internal ForbiddenErrorException(ApiError apiError)
     : base((int)System.Net.HttpStatusCode.Forbidden, apiError)
 {
 }
 internal TooManyRequestsException(ApiError apiError)
     : base((int)TooManyRequestsHttpStatusCode, apiError)
 {
 }
示例#6
0
 internal JwtTokenExpiredException(ApiError apiError)
     : base((int)System.Net.HttpStatusCode.Unauthorized, apiError)
 {
 }
 internal WrongDataException(ApiError apiError)
     : base((int)System.Net.HttpStatusCode.BadRequest, apiError)
 {
 }
 internal AuthErrorException(ApiError apiError)
     : base((int)System.Net.HttpStatusCode.Unauthorized, apiError)
 {
 }
示例#9
0
 internal ServerErrorException(int httpStatusCode, ApiError apiError)
     : base(httpStatusCode, apiError)
 {
 }
示例#10
0
 internal ServiceUnavailableException(ApiError apiError)
     : base((int)System.Net.HttpStatusCode.ServiceUnavailable, apiError)
 {
 }