Class: Aws::SecurityHub::Errors::OrganizationalUnitNotFoundException
- Inherits:
-
ServiceError
- Object
- ServiceError
- Aws::SecurityHub::Errors::OrganizationalUnitNotFoundException
- Defined in:
- lib/aws-sdk-securityhub/errors.rb
Instance Method Summary collapse
- #code ⇒ String
-
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OrganizationalUnitNotFoundException
constructor
A new instance of OrganizationalUnitNotFoundException.
- #message ⇒ String
Constructor Details
#initialize(context, message, data = Aws::EmptyStructure.new) ⇒ OrganizationalUnitNotFoundException
Returns a new instance of OrganizationalUnitNotFoundException.
217 218 219 |
# File 'lib/aws-sdk-securityhub/errors.rb', line 217 def initialize(context, , data = Aws::EmptyStructure.new) super(context, , data) end |
Instance Method Details
#code ⇒ String
227 228 229 |
# File 'lib/aws-sdk-securityhub/errors.rb', line 227 def code @code || @data[:code] end |
#message ⇒ String
222 223 224 |
# File 'lib/aws-sdk-securityhub/errors.rb', line 222 def @message || @data[:message] end |