public ApiErrorResult(BrokerApiError error, string message = null) : base(error) { // https://tools.ietf.org/html/rfc7231#section-6.5.1 // The 400(Bad Request) status code indicates that the server cannot or // will not process the request due to something that is perceived to be // a client error(e.g., malformed request syntax, invalid request message // framing, or deceptive request routing). StatusCode = StatusCodes.Status400BadRequest; _brokerApiError = error; _message = message; }
public BrokerApiErrorException(BrokerApiError error, string message) : base(message) { ApiError = error; }
public BrokerApiErrorException(BrokerApiError error, string message): base(message) { ApiError = error; }