Exception: Virgil::Crypto::KeyPairType::UnknownTypeException
- Inherits:
-
StandardError
- Object
- StandardError
- Virgil::Crypto::KeyPairType::UnknownTypeException
- Defined in:
- lib/virgil/crypto/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.
41 42 43 44 |
# File 'lib/virgil/crypto/key_pair_type.rb', line 41 def initialize(key_pair_type) @key_pair_type = key_pair_type super end |
Instance Method Details
#to_s ⇒ Object
46 47 48 |
# File 'lib/virgil/crypto/key_pair_type.rb', line 46 def to_s "KeyPairType not found: #{@key_pair_type}" end |