Exception: Seam::UnserializableParamError
- Inherits:
-
StandardError
- Object
- StandardError
- Seam::UnserializableParamError
- Defined in:
- lib/seam/url_search_params_serializer.rb
Instance Attribute Summary collapse
-
#param_name ⇒ Object
readonly
Returns the value of attribute param_name.
Instance Method Summary collapse
-
#initialize(param_name, reason) ⇒ UnserializableParamError
constructor
A new instance of UnserializableParamError.
Constructor Details
#initialize(param_name, reason) ⇒ UnserializableParamError
Returns a new instance of UnserializableParamError.
12 13 14 15 |
# File 'lib/seam/url_search_params_serializer.rb', line 12 def initialize(param_name, reason) @param_name = param_name super("Could not serialize parameter: '#{param_name}' #{reason}") end |
Instance Attribute Details
#param_name ⇒ Object (readonly)
Returns the value of attribute param_name.
10 11 12 |
# File 'lib/seam/url_search_params_serializer.rb', line 10 def param_name @param_name end |