Exception: WLAPI::ExternalError

Inherits:
Error
  • Object
show all
Defined in:
lib/wlapi/error.rb

Instance Method Summary collapse

Constructor Details

#initialize(e) ⇒ ExternalError

Returns a new instance of ExternalError.



6
7
8
9
10
11
# File 'lib/wlapi/error.rb', line 6

def initialize(e)
  msg = "Some external error occured:\n"
  msg << "#{e.class}: #{e.message}"        

  super(msg)
end