Exception: EasyJSONMatcher::CoercionError
- Inherits:
-
EasyJSONMatcherError
- Object
- RuntimeError
- EasyJSONMatcherError
- EasyJSONMatcher::CoercionError
- Defined in:
- lib/easy_json_matcher/coercion_error.rb
Instance Method Summary collapse
-
#initialize(invalid_string:) ⇒ CoercionError
constructor
A new instance of CoercionError.
Constructor Details
#initialize(invalid_string:) ⇒ CoercionError
Returns a new instance of CoercionError.
6 7 8 |
# File 'lib/easy_json_matcher/coercion_error.rb', line 6 def initialize(invalid_string:) super "#{invalid_string} is not a valid json string" end |