Exception: OpenAPIParser::InvalidUUIDFormat

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

Instance Method Summary collapse

Constructor Details

#initialize(value, reference) ⇒ InvalidUUIDFormat

Returns a new instance of InvalidUUIDFormat.



210
211
212
213
# File 'lib/openapi_parser/errors.rb', line 210

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

Instance Method Details

#messageObject



215
216
217
# File 'lib/openapi_parser/errors.rb', line 215

def message
  "#{@reference} Value: #{@value.inspect} is not conformant with UUID format"
end