コード例 #1
0
        private static string ExtractMessage(FutError futError)
        {
            futError.ThrowIfNullArgument();
            
            string result = "Code: " + futError.Code;
            if (!string.IsNullOrEmpty(futError.Reason))
                result += ", Reason: " + futError.Reason;
            if (!string.IsNullOrEmpty(futError.Message))
                result += ", Message: " + futError.Message;
            if (!string.IsNullOrEmpty(futError.Debug))
                result += ", Debug: " + futError.Debug;
            if (!string.IsNullOrEmpty(futError.String))
                result += ", String: " + futError.String;

            return result;
        }
コード例 #2
0
 public NoSuchTradeExistsException(FutError futError, Exception innerException)
     : base(futError, innerException)
 {
 }
コード例 #3
0
 public NotFoundException(FutError futError, Exception exception)
     : base(futError, exception)
 {
 }
コード例 #4
0
 public ExpiredSessionException(FutError futError, Exception exception)
     : base(futError, exception)
 {
 }
コード例 #5
0
 public PermissionDeniedException(FutError futError, Exception exception)
     : base(futError, exception)
 {
 }
コード例 #6
0
 public PurchasedItemsFullException(FutError futError, Exception exception)
     : base(futError, exception)
 {
 }
コード例 #7
0
 public DestinationFullException(FutError futError, Exception exception)
     : base(futError, exception)
 {
 }
コード例 #8
0
 public InternalServerException(FutError futError, Exception exception)
     : base(futError, exception)
 {
 }
コード例 #9
0
 public ConflictException(FutError futError, Exception innerException)
     : base(futError, innerException)
 {
 }
コード例 #10
0
 public ServiceUnavailableException(FutError futError, Exception exception)
     : base(futError, exception)
 {
 }
コード例 #11
0
 public BadRequestException(FutError futError, Exception exception)
     : base(futError, exception)
 {
 }
コード例 #12
0
 public InvalidDeckException(FutError futError, Exception exception)
     : base(futError, exception)
 {
 }
コード例 #13
0
 public FutErrorException(FutError futError, Exception innerException)
     : base(ExtractMessage(futError), innerException)
 {
     FutError = futError;
 }
コード例 #14
0
 public FutErrorException(FutError futError)
     : base(ExtractMessage(futError))
 {
     FutError = futError;
 }
コード例 #15
0
 public NotEnoughCreditException(FutError futError, Exception innerException)
     : base(futError, innerException)
 {
 }
コード例 #16
0
 public CaptchaTriggeredException(FutError futError, Exception innerException)
     : base(futError, innerException)
 {
 }