Class: Liminal::Openapi::Verification::MissingDocumentError

Inherits:
Error
  • Object
show all
Defined in:
lib/liminal/openapi/verification/error.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path) ⇒ MissingDocumentError

Returns a new instance of MissingDocumentError.



23
24
25
26
# File 'lib/liminal/openapi/verification/error.rb', line 23

def initialize(path)
  @path = path
  super("OpenAPI document does not exist: #{path}")
end

Instance Attribute Details

#pathObject (readonly)

Returns the value of attribute path.



21
22
23
# File 'lib/liminal/openapi/verification/error.rb', line 21

def path
  @path
end