Class: Aws::NeptuneGraph::Errors::UnprocessableException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::NeptuneGraph::Errors::UnprocessableException
- Defined in:
- gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnprocessableException
constructor
A new instance of UnprocessableException.
-
#message ⇒ String
-
#reason ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ UnprocessableException
Returns a new instance of UnprocessableException.
177 178 179 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/errors.rb', line 177 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
182 183 184 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/errors.rb', line 182 def @message || @data[:message] end |
#reason ⇒ String
187 188 189 |
# File 'gems/aws-sdk-neptunegraph/lib/aws-sdk-neptunegraph/errors.rb', line 187 def reason @data[:reason] end |