Exception: OpenAPIParser::InvalidDateTimeFormat
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::InvalidDateTimeFormat
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ InvalidDateTimeFormat
constructor
A new instance of InvalidDateTimeFormat.
- #message ⇒ Object
Constructor Details
#initialize(value, reference) ⇒ InvalidDateTimeFormat
Returns a new instance of InvalidDateTimeFormat.
232 233 234 235 |
# File 'lib/openapi_parser/errors.rb', line 232 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
237 238 239 |
# File 'lib/openapi_parser/errors.rb', line 237 def "#{@reference} Value: #{@value.inspect} is not conformant with date-time format" end |