Method: RightAws::AwsError.system_error?
- Defined in:
- lib/awsbase/right_awsbase.rb
.system_error?(e) ⇒ Boolean
True if e is an AWS system error, i.e. something that is for sure not the caller’s fault. Used to force logging.
576 577 578 |
# File 'lib/awsbase/right_awsbase.rb', line 576 def self.system_error?(e) !e.is_a?(self) || e. =~ /InternalError|InsufficientInstanceCapacity|Unavailable/ end |