DirectoryServiceData / Client / exceptions / DirectoryUnavailableException
DirectoryUnavailableException¶
- class DirectoryServiceData.Client.exceptions.DirectoryUnavailableException¶
- The request could not be completed due to a problem in the configuration or current state of the specified directory. - Example- try: ... except client.exceptions.DirectoryUnavailableException as e: print(e.response) - response¶
- The parsed error response. All exceptions have a top level - Errorkey that provides normalized access to common exception atrributes. All other keys are specific to this service or exception class.- Syntax- { 'Message': 'string', 'Reason': 'INVALID_DIRECTORY_STATE'|'DIRECTORY_TIMEOUT'|'DIRECTORY_RESOURCES_EXCEEDED'|'NO_DISK_SPACE'|'TRUST_AUTH_FAILURE', 'Error': { 'Code': 'string', 'Message': 'string' } } - Structure- (dict) – - The request could not be completed due to a problem in the configuration or current state of the specified directory. - Message (string) – 
- Reason (string) – - Reason the request failed for the specified directory. 
- Error (dict) – Normalized access to common exception attributes. - Code (string) – An identifier specifying the exception type. 
- Message (string) – A descriptive message explaining why the exception occured.