Exception: Virgil::SDK::Cryptography::Keys::KeyPairType::UnknownTypeException
- Inherits:
-
StandardError
- Object
- StandardError
- Virgil::SDK::Cryptography::Keys::KeyPairType::UnknownTypeException
- Defined in:
- lib/virgil/sdk/cryptography/keys/key_pair_type.rb
Overview
Exception raised when Unknown Type passed to convertion method
Instance Method Summary collapse
-
#initialize(key_pair_type) ⇒ UnknownTypeException
constructor
A new instance of UnknownTypeException.
- #to_s ⇒ Object
Constructor Details
#initialize(key_pair_type) ⇒ UnknownTypeException
Returns a new instance of UnknownTypeException
44 45 46 47 |
# File 'lib/virgil/sdk/cryptography/keys/key_pair_type.rb', line 44 def initialize(key_pair_type) @key_pair_type = key_pair_type super end |
Instance Method Details
#to_s ⇒ Object
49 50 51 |
# File 'lib/virgil/sdk/cryptography/keys/key_pair_type.rb', line 49 def to_s "KeyPairType not found: #{@key_pair_type}" end |