Class: Aws::CodeGuruSecurity::Errors::ThrottlingException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::CodeGuruSecurity::Errors::ThrottlingException
- Defined in:
- lib/aws-sdk-codegurusecurity/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
constructor
A new instance of ThrottlingException.
- #message ⇒ String
- #quota_code ⇒ String
- #retryable? ⇒ Boolean
- #service_code ⇒ String
- #throttling? ⇒ Boolean
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ThrottlingException
Returns a new instance of ThrottlingException.
162 163 164 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 162 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
167 168 169 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 167 def error_code @data[:error_code] end |
#message ⇒ String
172 173 174 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 172 def @message || @data[:message] end |
#quota_code ⇒ String
177 178 179 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 177 def quota_code @data[:quota_code] end |
#retryable? ⇒ Boolean
186 187 188 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 186 def retryable? true end |
#service_code ⇒ String
182 183 184 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 182 def service_code @data[:service_code] end |
#throttling? ⇒ Boolean
190 191 192 |
# File 'lib/aws-sdk-codegurusecurity/errors.rb', line 190 def throttling? true end |