Class: Aws::Schemas::Errors::GoneException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Schemas::Errors::GoneException
- Defined in:
- lib/aws-sdk-schemas/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ GoneException
constructor
A new instance of GoneException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ GoneException
Returns a new instance of GoneException.
112 113 114 |
# File 'lib/aws-sdk-schemas/errors.rb', line 112 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
117 118 119 |
# File 'lib/aws-sdk-schemas/errors.rb', line 117 def code @code || @data[:code] end |
#message ⇒ String
122 123 124 |
# File 'lib/aws-sdk-schemas/errors.rb', line 122 def @message || @data[:message] end |