Exception: OpenAPIParser::InvalidEmailFormat
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::InvalidEmailFormat
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ InvalidEmailFormat
constructor
A new instance of InvalidEmailFormat.
- #message ⇒ Object
Constructor Details
#initialize(value, reference) ⇒ InvalidEmailFormat
Returns a new instance of InvalidEmailFormat.
177 178 179 180 |
# File 'lib/openapi_parser/errors.rb', line 177 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
182 183 184 |
# File 'lib/openapi_parser/errors.rb', line 182 def "#{@reference} email address format does not match value: #{@value.inspect}" end |