Exception: Octobat::InvalidRequestError

Inherits:
OctobatError
  • Object
show all
Defined in:
lib/octobat/errors/invalid_request_error.rb

Instance Attribute Summary

Attributes inherited from OctobatError

#error, #http_body, #http_status, #json_body, #message

Instance Method Summary collapse

Methods inherited from OctobatError

#generate_message_from_error, #serialize_errors_from, #to_s

Constructor Details

#initialize(error, http_status = nil, http_body = nil, json_body = nil) ⇒ InvalidRequestError

Returns a new instance of InvalidRequestError.



4
5
6
# File 'lib/octobat/errors/invalid_request_error.rb', line 4

def initialize(error, http_status=nil, http_body=nil, json_body=nil)
  super(error, http_status, http_body, json_body)
end