Class: Aws::DirectConnect::Errors::DirectConnectServerException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::DirectConnect::Errors::DirectConnectServerException
- Defined in:
- lib/aws-sdk-directconnect/errors.rb
Instance Method Summary collapse
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DirectConnectServerException
constructor
A new instance of DirectConnectServerException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ DirectConnectServerException
Returns a new instance of DirectConnectServerException.
61 62 63 |
# File 'lib/aws-sdk-directconnect/errors.rb', line 61 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#message ⇒ String
66 67 68 |
# File 'lib/aws-sdk-directconnect/errors.rb', line 66 def @message || @data[:message] end |