Exception: BSV::Wallet::UnsupportedActionError

Inherits:
Error
  • Object
show all
Defined in:
lib/bsv/wallet/errors.rb

Overview

Raised when an operation is not supported by this wallet implementation.

Instance Attribute Summary

Attributes inherited from Error

#code

Instance Method Summary collapse

Constructor Details

#initialize(method_name = 'this method') ⇒ UnsupportedActionError

Returns a new instance of UnsupportedActionError.



42
43
44
# File 'lib/bsv/wallet/errors.rb', line 42

def initialize(method_name = 'this method')
  super("#{method_name} is not supported by this wallet implementation", 2)
end