Exception: WealthForge3::ApiException

Inherits:
StandardError
  • Object
show all
Defined in:
lib/wealthforge/api_exception.rb

Instance Method Summary collapse

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