Exception: OpenAPIParser::MoreThanMaxItems
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::MoreThanMaxItems
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ MoreThanMaxItems
constructor
A new instance of MoreThanMaxItems.
- #message ⇒ Object
Constructor Details
#initialize(value, reference) ⇒ MoreThanMaxItems
Returns a new instance of MoreThanMaxItems.
277 278 279 280 |
# File 'lib/openapi_parser/errors.rb', line 277 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
282 283 284 |
# File 'lib/openapi_parser/errors.rb', line 282 def "#{@reference} #{@value.inspect} contains more than max items" end |