Exception: Interpol::RequestParamsParser::UnsupportedTypeError

Inherits:
ArgumentError
  • Object
show all
Defined in:
lib/interpol/request_params_parser.rb

Overview

Raised when an unsupported parameter type is defined.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#typeObject (readonly)

Returns the value of attribute type.



238
239
240
# File 'lib/interpol/request_params_parser.rb', line 238

def type
  @type
end