Exception: Purl::MissingRegistryInfoError

Inherits:
RegistryError show all
Defined in:
lib/purl/errors.rb

Instance Attribute Summary collapse

Attributes inherited from RegistryError

#type

Instance Method Summary collapse

Constructor Details

#initialize(message, type: nil, missing: nil) ⇒ MissingRegistryInfoError

Returns a new instance of MissingRegistryInfoError.



56
57
58
59
# File 'lib/purl/errors.rb', line 56

def initialize(message, type: nil, missing: nil)
  super(message, type: type)
  @missing = missing
end

Instance Attribute Details

#missingObject (readonly)

Returns the value of attribute missing.



54
55
56
# File 'lib/purl/errors.rb', line 54

def missing
  @missing
end