Exception: Interpol::RequestParamsParser::UnsupportedTypeError
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Interpol::RequestParamsParser::UnsupportedTypeError
- Defined in:
- lib/interpol/request_params_parser.rb
Overview
Raised when an unsupported parameter type is defined.
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(type) ⇒ UnsupportedTypeError
constructor
A new instance of UnsupportedTypeError.
Constructor Details
#initialize(type) ⇒ UnsupportedTypeError
Returns a new instance of UnsupportedTypeError.
240 241 242 243 |
# File 'lib/interpol/request_params_parser.rb', line 240 def initialize(type) @type = type super("#{type} params are not supported") end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
238 239 240 |
# File 'lib/interpol/request_params_parser.rb', line 238 def type @type end |