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.
98 99 100 101 |
# File 'lib/openapi_parser/errors.rb', line 98 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
103 104 105 |
# File 'lib/openapi_parser/errors.rb', line 103 def "#{@value.inspect} isn't any of in #{@reference}" end |