Exception: OpenAPIParser::MoreThanExclusiveMaximum
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::MoreThanExclusiveMaximum
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ MoreThanExclusiveMaximum
constructor
A new instance of MoreThanExclusiveMaximum.
- #message ⇒ Object
Constructor Details
#initialize(value, reference) ⇒ MoreThanExclusiveMaximum
Returns a new instance of MoreThanExclusiveMaximum.
147 148 149 150 |
# File 'lib/openapi_parser/errors.rb', line 147 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
152 153 154 |
# File 'lib/openapi_parser/errors.rb', line 152 def "#{@value} cannot be more than or equal to exclusive maximum value in #{@reference}" end |