Example #1
0
 public XmlRequestExceptionActionResult(
     ErrorCodeReason statusCode,
     XDocument message)
 {
     _statusCode   = statusCode;
     _errorMessage = message;
 }
Example #2
0
 public RequestExceptionActionResult(
     ErrorCodeReason statusCode,
     string errorMessage,
     int errorCode)
 {
     _statusCode   = statusCode;
     _errorMessage = errorMessage;
     _errorCode    = errorCode;
 }
Example #3
0
 public XmlRequestException(ErrorCodeReason statusCode, XDocument document, Exception inner = null) :
     base(statusCode, "Xml exception", 255, inner)
 {
     _document = document;
 }
Example #4
0
 public RequestException(ErrorCodeReason statusCode, string message, int errorCode, Exception inner = null) : base(message, inner)
 {
     StatusCode = statusCode;
     ErrorCode  = errorCode;
 }