Exception: OpenAPIParser::LessThanMinLength
- Inherits:
-
OpenAPIError
- Object
- StandardError
- OpenAPIError
- OpenAPIParser::LessThanMinLength
- Defined in:
- lib/openapi_parser/errors.rb
Instance Method Summary collapse
-
#initialize(value, reference) ⇒ LessThanMinLength
constructor
A new instance of LessThanMinLength.
- #message ⇒ Object
Constructor Details
#initialize(value, reference) ⇒ LessThanMinLength
Returns a new instance of LessThanMinLength.
266 267 268 269 |
# File 'lib/openapi_parser/errors.rb', line 266 def initialize(value, reference) super(reference) @value = value end |
Instance Method Details
#message ⇒ Object
271 272 273 |
# File 'lib/openapi_parser/errors.rb', line 271 def "#{@reference} #{@value.inspect} is shorter than min length" end |