Class: Aws::EFS::Errors::FileSystemInUse
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::EFS::Errors::FileSystemInUse
- Defined in:
- lib/aws-sdk-efs/errors.rb
Instance Method Summary collapse
- #error_code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ FileSystemInUse
constructor
A new instance of FileSystemInUse.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ FileSystemInUse
Returns a new instance of FileSystemInUse.
244 245 246 |
# File 'lib/aws-sdk-efs/errors.rb', line 244 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#error_code ⇒ String
249 250 251 |
# File 'lib/aws-sdk-efs/errors.rb', line 249 def error_code @data[:error_code] end |
#message ⇒ String
254 255 256 |
# File 'lib/aws-sdk-efs/errors.rb', line 254 def @message || @data[:message] end |