Class: Aws::Signer::Errors::ValidationException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Signer::Errors::ValidationException
- Defined in:
- lib/aws-sdk-signer/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
constructor
A new instance of ValidationException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ ValidationException
Returns a new instance of ValidationException.
232 233 234 |
# File 'lib/aws-sdk-signer/errors.rb', line 232 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
242 243 244 |
# File 'lib/aws-sdk-signer/errors.rb', line 242 def code @code || @data[:code] end |
#message ⇒ String
237 238 239 |
# File 'lib/aws-sdk-signer/errors.rb', line 237 def @message || @data[:message] end |