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.



182
183
184
185
# File 'lib/openapi_parser/errors.rb', line 182

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

Instance Method Details

#messageObject



187
188
189
# File 'lib/openapi_parser/errors.rb', line 187

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