Exception: WLAPI::ExternalError
- Defined in:
- lib/wlapi/error.rb
Instance Method Summary collapse
-
#initialize(e) ⇒ ExternalError
constructor
A new instance of ExternalError.
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.}" super(msg) end |