Exception: Logan::InvalidRequestError

Inherits:
Error
  • Object
show all
Defined in:
lib/logan/errors.rb

Instance Attribute Summary

Attributes inherited from Error

#code, #message

Instance Method Summary collapse

Methods inherited from Error

#to_json

Constructor Details

#initializeInvalidRequestError

Returns a new instance of InvalidRequestError.



24
25
26
# File 'lib/logan/errors.rb', line 24

def initialize
  super :invalid_request, "The request has wrong parameters."
end