Exception: OpenAPIParser::LessThanMinimum
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::LessThanMinimum
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ LessThanMinimum
constructor
A new instance of LessThanMinimum.
- #message ⇒ Object
Constructor Details
#initialize(value, reference) ⇒ LessThanMinimum
Returns a new instance of LessThanMinimum.
120 121 122 123 |
# File 'lib/openapi_parser/errors.rb', line 120 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
125 126 127 |
# File 'lib/openapi_parser/errors.rb', line 125 def "#{@reference} #{@value.inspect} is less than minimum value" end |