public ExceptionErrorInfo(Exception exception)
 {
     _exception       = exception;
     ErrorStatus      = ExceptionErrorUtilities.GetExceptionStatus(exception);
     ErrorType        = ExceptionErrorUtilities.GetExceptionType(exception);
     ErrorDescription = exception.Message;
 }
Beispiel #2
0
 public RestApiException(string message, Exception innerException)
     : base(message, innerException)
 {
     ErrorStatus = ExceptionErrorUtilities.GetExceptionStatus(innerException);
 }