Class: Aws::WorkDocs::Errors::UnauthorizedResourceAccessException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::WorkDocs::Errors::UnauthorizedResourceAccessException
- Defined in:
- lib/aws-sdk-workdocs/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnauthorizedResourceAccessException
constructor
A new instance of UnauthorizedResourceAccessException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnauthorizedResourceAccessException
Returns a new instance of UnauthorizedResourceAccessException.
422 423 424 |
# File 'lib/aws-sdk-workdocs/errors.rb', line 422 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
427 428 429 |
# File 'lib/aws-sdk-workdocs/errors.rb', line 427 def @message || @data[:message] end |