Class: Aws::Lightsail::Errors::OperationFailureException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::Lightsail::Errors::OperationFailureException
- Defined in:
- lib/aws-sdk-lightsail/errors.rb
Instance Method Summary collapse
- #code ⇒ String
- #docs ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OperationFailureException
constructor
A new instance of OperationFailureException.
- #message ⇒ String
- #tip ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OperationFailureException
Returns a new instance of OperationFailureException.
169 170 171 |
# File 'lib/aws-sdk-lightsail/errors.rb', line 169 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
174 175 176 |
# File 'lib/aws-sdk-lightsail/errors.rb', line 174 def code @code || @data[:code] end |
#docs ⇒ String
179 180 181 |
# File 'lib/aws-sdk-lightsail/errors.rb', line 179 def docs @data[:docs] end |
#message ⇒ String
184 185 186 |
# File 'lib/aws-sdk-lightsail/errors.rb', line 184 def @message || @data[:message] end |
#tip ⇒ String
189 190 191 |
# File 'lib/aws-sdk-lightsail/errors.rb', line 189 def tip @data[:tip] end |