Class: Aws::S3Control::Errors::BadRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::S3Control::Errors::BadRequestException
- Defined in:
- lib/aws-sdk-s3control/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BadRequestException
constructor
A new instance of BadRequestException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BadRequestException
Returns a new instance of BadRequestException.
54 55 56 |
# File 'lib/aws-sdk-s3control/errors.rb', line 54 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
59 60 61 |
# File 'lib/aws-sdk-s3control/errors.rb', line 59 def @message || @data[:message] end |