Exception: Purl::UnsupportedTypeError
- Inherits:
-
RegistryError
- Object
- StandardError
- Error
- RegistryError
- Purl::UnsupportedTypeError
- Defined in:
- lib/purl/errors.rb
Instance Attribute Summary collapse
-
#supported_types ⇒ Object
readonly
Returns the value of attribute supported_types.
Attributes inherited from RegistryError
Instance Method Summary collapse
-
#initialize(message, type: nil, supported_types: []) ⇒ UnsupportedTypeError
constructor
A new instance of UnsupportedTypeError.
Constructor Details
#initialize(message, type: nil, supported_types: []) ⇒ UnsupportedTypeError
Returns a new instance of UnsupportedTypeError.
47 48 49 50 |
# File 'lib/purl/errors.rb', line 47 def initialize(, type: nil, supported_types: []) super(, type: type) @supported_types = supported_types end |
Instance Attribute Details
#supported_types ⇒ Object (readonly)
Returns the value of attribute supported_types.
45 46 47 |
# File 'lib/purl/errors.rb', line 45 def supported_types @supported_types end |