Exception: OpenAPIParser::NotEnumInclude
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::NotEnumInclude
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ NotEnumInclude
constructor
A new instance of NotEnumInclude.
- #message ⇒ Object
Constructor Details
#initialize(value, reference) ⇒ NotEnumInclude
Returns a new instance of NotEnumInclude.
109 110 111 112 |
# File 'lib/openapi_parser/errors.rb', line 109 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
114 115 116 |
# File 'lib/openapi_parser/errors.rb', line 114 def "#{@value.inspect} isn't part of the enum in #{@reference}" end |