Exception: Fog::Errors::Error
- Inherits:
-
StandardError
- Object
- StandardError
- Fog::Errors::Error
- Defined in:
- lib/fog/core/errors.rb
Direct Known Subclasses
AWS::AutoScaling::IdentifierTaken, AWS::AutoScaling::ResourceInUse, AWS::AutoScaling::ValidationError, AWS::ELB::IdentifierTaken, AWS::ELB::InvalidInstance, AWS::ELB::Throttled, AWS::EMR::IdentifierTaken, AWS::Elasticache::IdentifierTaken, AWS::Elasticache::InvalidInstance, AWS::RDS::IdentifierTaken, DNS::Rackspace::CallbackError, MockNotImplemented, NotFound, OpenStack::Errors::ServiceError, Rackspace::Errors::ServiceError, Service::Error, Vsphere::Errors::ServiceError
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.
5 6 7 |
# File 'lib/fog/core/errors.rb', line 5 def verbose @verbose end |
Class Method Details
.slurp(error, message = nil) ⇒ Object
7 8 9 10 11 12 |
# File 'lib/fog/core/errors.rb', line 7 def self.slurp(error, = nil) new_error = new() new_error.set_backtrace(error.backtrace) new_error.verbose = error. new_error end |