Base for any reading exceptions encountered by {JSON::Schema::Reader}
@return [String] the requested schema location which was refused
@return [Symbol] either :uri
or :file
# File lib/json-schema/schema/reader.rb, line 14 def initialize(location, type) @location = location @type = type super(error_message) end
# File lib/json-schema/schema/reader.rb, line 22 def type_string type == :uri ? 'URI' : type.to_s end