Exception: OpenAPIParser::MoreThanExclusiveMaximum

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

Instance Method Summary collapse

Constructor Details

#initialize(value, reference) ⇒ MoreThanExclusiveMaximum

Returns a new instance of MoreThanExclusiveMaximum.



147
148
149
150
# File 'lib/openapi_parser/errors.rb', line 147

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

Instance Method Details

#messageObject



152
153
154
# File 'lib/openapi_parser/errors.rb', line 152

def message
  "#{@reference} #{@value} cannot be more than or equal to exclusive maximum value"
end