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.
103 104 105 106 |
# File 'lib/openapi_parser/errors.rb', line 103 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
108 109 110 |
# File 'lib/openapi_parser/errors.rb', line 108 def "#{@value} isn't include enum in #{@reference}" end |