Class: Aws::Chime::Errors::ForbiddenException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Chime::Errors::ForbiddenException
- Defined in:
- lib/aws-sdk-chime/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ForbiddenException
constructor
A new instance of ForbiddenException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ForbiddenException
Returns a new instance of ForbiddenException.
113 114 115 |
# File 'lib/aws-sdk-chime/errors.rb', line 113 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
118 119 120 |
# File 'lib/aws-sdk-chime/errors.rb', line 118 def code @code || @data[:code] end |
#message ⇒ String
123 124 125 |
# File 'lib/aws-sdk-chime/errors.rb', line 123 def @message || @data[:message] end |