Exception: OpenAPIParser::NotExistPropertyDefinition
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::NotExistPropertyDefinition
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(keys, reference) ⇒ NotExistPropertyDefinition
constructor
A new instance of NotExistPropertyDefinition.
- #message ⇒ Object
Constructor Details
#initialize(keys, reference) ⇒ NotExistPropertyDefinition
Returns a new instance of NotExistPropertyDefinition.
53 54 55 56 |
# File 'lib/openapi_parser/errors.rb', line 53 def initialize(keys, reference) super(reference) @keys = keys end |
Instance Method Details
#message ⇒ Object
58 59 60 |
# File 'lib/openapi_parser/errors.rb', line 58 def "#{@reference} does not define properties: #{@keys.join(", ")}" end |