/// <summary> /// Instantiates a new Maileon exception /// </summary> /// <param name="status">the HTTP status</param> public MaileonException(HttpStatus status) { this.StatusCode = status.Code; this.ReasonPhrase = status.Reason; }
public MaileonServerError(HttpStatus status) : base(status) { }
public MaileonAccessControlException(HttpStatus status, string message) : base(status, message) { }
/// <summary> /// Instantiates a new Maileon exception /// </summary> /// <param name="reason">the HTTP reason phrase</param> /// <param name="status">the HTTP status code</param> public MaileonException(HttpStatus status, string reason) { this.ReasonPhrase = reason; this.StatusCode = status.Code; }
public MaileonAccessControlException(HttpStatus status) : base(status) { }
public MaileonAuthorizationException(HttpStatus status, string message) : base(status, message) { }
public MaileonAuthorizationException(HttpStatus status) : base(status) { }
public MaileonBadRequestException(HttpStatus status, string message) : base(status, message) { }
public MaileonBadRequestException(HttpStatus status) : base(status) { }