Exception: SmartAdapters::Exceptions::InvalidRequestFormatException
- Inherits:
-
StandardError
- Object
- StandardError
- SmartAdapters::Exceptions::InvalidRequestFormatException
- Defined in:
- lib/smart_adapters/exceptions/invalid_request_format_exception.rb
Constant Summary collapse
- ERROR_MESSAGE =
'Request format not supported.' \ 'Formats available: html, json, js, xml'
Instance Method Summary collapse
-
#initialize ⇒ InvalidRequestFormatException
constructor
A new instance of InvalidRequestFormatException.
Constructor Details
#initialize ⇒ InvalidRequestFormatException
Returns a new instance of InvalidRequestFormatException.
9 10 11 |
# File 'lib/smart_adapters/exceptions/invalid_request_format_exception.rb', line 9 def initialize super ERROR_MESSAGE end |