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.
153 154 155 156 |
# File 'lib/openapi_parser/errors.rb', line 153 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
158 159 160 |
# File 'lib/openapi_parser/errors.rb', line 158 def "#{@reference} #{@value.inspect} cannot be more than or equal to exclusive maximum value" end |