Class: Aws::AppSync::Errors::BadRequestException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::AppSync::Errors::BadRequestException
- Defined in:
- gems/aws-sdk-appsync/lib/aws-sdk-appsync/errors.rb
Instance Method Summary collapse
-
#detail ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BadRequestException
constructor
A new instance of BadRequestException.
-
#message ⇒ String
-
#reason ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ BadRequestException
Returns a new instance of BadRequestException.
113 114 115 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/errors.rb', line 113 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#detail ⇒ String
128 129 130 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/errors.rb', line 128 def detail @data[:detail] end |
#message ⇒ String
118 119 120 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/errors.rb', line 118 def @message || @data[:message] end |
#reason ⇒ String
123 124 125 |
# File 'gems/aws-sdk-appsync/lib/aws-sdk-appsync/errors.rb', line 123 def reason @data[:reason] end |