Exception: Virgil::SDK::Cryptography::Keys::KeyPairType::UnknownTypeException

Inherits:
StandardError
  • Object
show all
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

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_sObject



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