Exception: Purl::RegistryError
- Defined in:
- lib/purl/errors.rb
Overview
Registry URL generation errors
Direct Known Subclasses
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
Instance Method Summary collapse
-
#initialize(message, type: nil) ⇒ RegistryError
constructor
A new instance of RegistryError.
Constructor Details
#initialize(message, type: nil) ⇒ RegistryError
Returns a new instance of RegistryError.
38 39 40 41 |
# File 'lib/purl/errors.rb', line 38 def initialize(, type: nil) super() @type = type end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
36 37 38 |
# File 'lib/purl/errors.rb', line 36 def type @type end |