Exception: Aloe::InoperableAccountError
- Inherits:
-
StandardError
- Object
- StandardError
- Aloe::InoperableAccountError
- Defined in:
- lib/aloe/inoperable_account_error.rb
Instance Method Summary collapse
-
#initialize(account) ⇒ InoperableAccountError
constructor
A new instance of InoperableAccountError.
- #to_s ⇒ Object
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) @account = account end |
Instance Method Details
#to_s ⇒ Object
7 8 9 |
# File 'lib/aloe/inoperable_account_error.rb', line 7 def to_s "Account #{@account} is inoperable! (account state: #{@account.state})" end |