示例#1
0
 internal ApiParseException(ApiError error) : base(error)
 {
 }
示例#2
0
 internal ApiInvalidParametersException(ApiError error) : base(error)
 {
 }
示例#3
0
 internal ApiUnknownException(ApiError error) : base(error)
 {
 }
示例#4
0
 internal ApiMethodNotFoundException(ApiError error) : base(error)
 {
 }
示例#5
0
 internal ApiInvalidRequestException(ApiError error) : base(error)
 {
 }
示例#6
0
 protected ApiException(ApiError error) : this(error.Code, error.Message, error.Data)
 {
     //
 }
示例#7
0
 internal ApiCustomException(ApiError error) : base(error)
 {
 }
示例#8
0
 /// <param name="id">Request id</param>
 /// <param name="error">Request error</param>
 public ApiResponse(ApiError error)
 {
     this.Error = error;
 }