Class: Aws::AlexaForBusiness::Errors::UnauthorizedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::AlexaForBusiness::Errors::UnauthorizedException
- Defined in:
- lib/aws-sdk-alexaforbusiness/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnauthorizedException
constructor
A new instance of UnauthorizedException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnauthorizedException
Returns a new instance of UnauthorizedException.
272 273 274 |
# File 'lib/aws-sdk-alexaforbusiness/errors.rb', line 272 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
277 278 279 |
# File 'lib/aws-sdk-alexaforbusiness/errors.rb', line 277 def @message || @data[:message] end |