Method: JSON::Schema::ReadError#initialize

Defined in:
lib/json-schema/schema/reader.rb

#initialize(location, type) ⇒ ReadError

Returns a new instance of ReadError.



14
15
16
17
18
# File 'lib/json-schema/schema/reader.rb', line 14

def initialize(location, type)
  @location = location
  @type = type
  super(error_message)
end