Exception: Fog::Errors::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Fog::Errors::Error
- Defined in:
- lib/fog/core/errors.rb
Direct Known Subclasses
LoadError, MockNotImplemented, NotFound, NotImplemented, TimeoutError, Service::Error
Instance Attribute Summary collapse
-
#verbose ⇒ Object
Returns the value of attribute verbose.
Class Method Summary collapse
Instance Attribute Details
#verbose ⇒ Object
Returns the value of attribute verbose.
4 5 6 |
# File 'lib/fog/core/errors.rb', line 4 def verbose @verbose end |
Class Method Details
.slurp(error, message = nil) ⇒ Object
6 7 8 9 10 11 |
# File 'lib/fog/core/errors.rb', line 6 def self.slurp(error, = nil) new_error = new( || error.) new_error.set_backtrace(error.backtrace) new_error.verbose = error. new_error end |