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