Exception: OpenAPIParser::InvalidDateFormat
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::InvalidDateFormat
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ InvalidDateFormat
constructor
A new instance of InvalidDateFormat.
- #message ⇒ Object
Constructor Details
#initialize(value, reference) ⇒ InvalidDateFormat
Returns a new instance of InvalidDateFormat.
221 222 223 224 |
# File 'lib/openapi_parser/errors.rb', line 221 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
226 227 228 |
# File 'lib/openapi_parser/errors.rb', line 226 def "#{@reference} Value: #{@value.inspect} is not conformant with date format" end |