class EasyJSONMatcher::UnknownValidationStepError

Public Class Methods

new(type) click to toggle source
Calls superclass method
# File lib/easy_json_matcher/exceptions.rb, line 15
def initialize(type)
  super error_message(type)
end

Public Instance Methods

error_message(type) click to toggle source
# File lib/easy_json_matcher/exceptions.rb, line 8
def error_message (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