Exception: OpenAPIParser::InvalidUUIDFormat
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::InvalidUUIDFormat
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ InvalidUUIDFormat
constructor
A new instance of InvalidUUIDFormat.
- #message ⇒ Object
Constructor Details
#initialize(value, reference) ⇒ InvalidUUIDFormat
Returns a new instance of InvalidUUIDFormat.
188 189 190 191 |
# File 'lib/openapi_parser/errors.rb', line 188 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
193 194 195 |
# File 'lib/openapi_parser/errors.rb', line 193 def "#{@reference} Value: #{@value.inspect} is not conformant with UUID format" end |