Exception: OpenAPIParser::MoreThanMaximum
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::MoreThanMaximum
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ MoreThanMaximum
constructor
A new instance of MoreThanMaximum.
- #message ⇒ Object
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
#message ⇒ Object
147 148 149 |
# File 'lib/openapi_parser/errors.rb', line 147 def "#{@reference} #{@value.inspect} is more than maximum value" end |