Exception: Google::Gax::GaxError
- Inherits:
-
StandardError
- Object
- StandardError
- Google::Gax::GaxError
- Defined in:
- lib/google/gax/errors.rb
Overview
Common base class for exceptions raised by GAX.
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(msg) ⇒ GaxError
constructor
A new instance of GaxError.
Constructor Details
#initialize(msg) ⇒ GaxError
Returns a new instance of GaxError.
37 38 39 40 41 42 |
# File 'lib/google/gax/errors.rb', line 37 def initialize(msg) msg = "GaxError #{msg}" msg += ", caused by #{$ERROR_INFO}" if $ERROR_INFO super(msg) @cause = $ERROR_INFO end |