Class: Aws::PinpointSMSVoice::Errors::BadRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::PinpointSMSVoice::Errors::BadRequestException
- Defined in:
- lib/aws-sdk-pinpointsmsvoice/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.
63 64 65 |
# File 'lib/aws-sdk-pinpointsmsvoice/errors.rb', line 63 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
68 69 70 |
# File 'lib/aws-sdk-pinpointsmsvoice/errors.rb', line 68 def @message || @data[:message] end |