Exception: OpenAPIParser::LessThanExclusiveMinimum

Inherits:
OpenAPIError
  • Object
show all
Defined in:
lib/openapi_parser/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(value, reference) ⇒ LessThanExclusiveMinimum

Returns a new instance of LessThanExclusiveMinimum.



131
132
133
134
# File 'lib/openapi_parser/errors.rb', line 131

def initialize(value, reference)
  super(reference)
  @value = value
end

Instance Method Details

#messageObject



136
137
138
# File 'lib/openapi_parser/errors.rb', line 136

def message
  "#{@reference} #{@value.inspect} cannot be less than or equal to exclusive minimum value"
end