Exception: OpenAPIParser::NotAnyOf
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::NotAnyOf
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ NotAnyOf
constructor
A new instance of NotAnyOf.
- #message ⇒ Object
Constructor Details
#initialize(value, reference) ⇒ NotAnyOf
Returns a new instance of NotAnyOf.
92 93 94 95 |
# File 'lib/openapi_parser/errors.rb', line 92 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
97 98 99 |
# File 'lib/openapi_parser/errors.rb', line 97 def "#{@value} isn't any of in #{@reference}" end |