Exception: Aloe::InoperableAccountError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/aloe/inoperable_account_error.rb

Instance Method Summary collapse

Constructor Details

#initialize(account) ⇒ InoperableAccountError

Returns a new instance of InoperableAccountError.



3
4
5
# File 'lib/aloe/inoperable_account_error.rb', line 3

def initialize()
  @account = 
end

Instance Method Details

#to_sObject



7
8
9
# File 'lib/aloe/inoperable_account_error.rb', line 7

def to_s
  "Account #{@account} is inoperable! (account state: #{@account.state})"
end