Class: Aws::Snowball::Errors::ReturnShippingLabelAlreadyExistsException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Snowball::Errors::ReturnShippingLabelAlreadyExistsException
- Defined in:
- lib/aws-sdk-snowball/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ReturnShippingLabelAlreadyExistsException
constructor
A new instance of ReturnShippingLabelAlreadyExistsException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ReturnShippingLabelAlreadyExistsException
Returns a new instance of ReturnShippingLabelAlreadyExistsException.
198 199 200 |
# File 'lib/aws-sdk-snowball/errors.rb', line 198 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
203 204 205 |
# File 'lib/aws-sdk-snowball/errors.rb', line 203 def @message || @data[:message] end |