Exception: Coinbase::ManageExternalContractError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/coinbase/errors.rb

Overview

An error raised when attempting to manage an external contract on-chain, e.g. sign the deployment tx, deploy the contract, etc…

Instance Method Summary collapse

Constructor Details

#initialize(action = 'manage') ⇒ ManageExternalContractError

Returns a new instance of ManageExternalContractError.



90
91
92
# File 'lib/coinbase/errors.rb', line 90

def initialize(action = 'manage')
  super("Cannot #{action} external smart contract")
end