Exception: EasyJSONMatcher::UnknownValidationStepError
- Defined in:
- lib/easy_json_matcher/exceptions.rb
Instance Method Summary collapse
- #error_message(type) ⇒ Object
-
#initialize(type) ⇒ UnknownValidationStepError
constructor
A new instance of UnknownValidationStepError.
Constructor Details
#initialize(type) ⇒ UnknownValidationStepError
Returns a new instance of UnknownValidationStepError.
15 16 17 |
# File 'lib/easy_json_matcher/exceptions.rb', line 15 def initialize(type) super (type) end |
Instance Method Details
#error_message(type) ⇒ Object
8 9 10 11 12 13 |
# File 'lib/easy_json_matcher/exceptions.rb', line 8 def (type) "No validator available for #{type}, you have either asked to validate a type that is not supported or a schema that has not been defined. If it is the former, consider using a custom validator" end |