Class: Aws::Amplify::Errors::UnauthorizedException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Amplify::Errors::UnauthorizedException
- Defined in:
- gems/aws-sdk-amplify/lib/aws-sdk-amplify/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.
144 145 146 |
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/errors.rb', line 144 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
149 150 151 |
# File 'gems/aws-sdk-amplify/lib/aws-sdk-amplify/errors.rb', line 149 def @message || @data[:message] end |