Exception: OpenAPIParser::MoreThanMaximum

Inherits:
OpenAPIError
  • Object
show all
Defined in:
lib/openapi_parser/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(value, reference) ⇒ MoreThanMaximum

Returns a new instance of MoreThanMaximum.



142
143
144
145
# File 'lib/openapi_parser/errors.rb', line 142

def initialize(value, reference)
  super(reference)
  @value = value
end

Instance Method Details

#messageObject



147
148
149
# File 'lib/openapi_parser/errors.rb', line 147

def message
  "#{@reference} #{@value.inspect} is more than maximum value"
end