class Supercast::InvalidRequestError
InvalidRequestError
is raised when a request is initiated with invalid parameters.
Public Class Methods
new(message, http_status: nil, http_body: nil, json_body: nil, http_headers: nil, code: nil)
click to toggle source
Calls superclass method
Supercast::SupercastError::new
# File lib/supercast/errors.rb, line 56 def initialize(message, http_status: nil, http_body: nil, json_body: nil, http_headers: nil, code: nil) super(message, http_status: http_status, http_body: http_body, json_body: json_body, http_headers: http_headers, code: code) end