Class: Aws::EFS::Types::BadRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::EFS::Types::BadRequest
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-efs/types.rb
Overview
Returned if the request is malformed or contains an error such as an invalid parameter value or a missing required parameter.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#error_code ⇒ String
The error code is a string that uniquely identifies an error condition.
-
#message ⇒ String
The error message contains a generic description of the error condition in English.
Instance Attribute Details
#error_code ⇒ String
The error code is a string that uniquely identifies an error condition. It is meant to be read and understood by programs that detect and handle errors by type.
274 275 276 277 278 279 |
# File 'lib/aws-sdk-efs/types.rb', line 274 class BadRequest < Struct.new( :error_code, :message) SENSITIVE = [] include Aws::Structure end |
#message ⇒ String
The error message contains a generic description of the error condition in English. It is intended for a human audience. Simple programs display the message directly to the end user if they encounter an error condition they don’t know how or don’t care to handle. Sophisticated programs with more exhaustive error handling and proper internationalization are more likely to ignore the error message.
274 275 276 277 278 279 |
# File 'lib/aws-sdk-efs/types.rb', line 274 class BadRequest < Struct.new( :error_code, :message) SENSITIVE = [] include Aws::Structure end |