Exception: WealthForge3::ApiException
- Inherits:
-
StandardError
- Object
- StandardError
- WealthForge3::ApiException
- Defined in:
- lib/wealthforge/api_exception.rb
Instance Method Summary collapse
-
#initialize(e = nil) ⇒ ApiException
constructor
A new instance of ApiException.
Constructor Details
#initialize(e = nil) ⇒ ApiException
Returns a new instance of ApiException.
2 3 4 5 6 |
# File 'lib/wealthforge/api_exception.rb', line 2 def initialize(e = nil) puts "API error: #{e.inspect}" super e set_backtrace e.backtrace if e end |