sagemaker.core.utils.exceptions#
Exceptions
|
Raised when a configuration file does not adhere to the schema |
|
Raised when a resource enters a delete_failed state. |
|
Raised when a resource enters a failed state. |
|
Raised when an error occurs in the Intelligent Defaults |
|
Raised when a configuration file is not found in local file system |
|
Raised when a configuration file is not found in S3 |
|
Base class for all exceptions in SageMaker Core |
|
Raised when a specified timeout is exceeded |
|
Raised when a validation error occurs. |
|
Raised when an error occurs while waiting. |
- exception sagemaker.core.utils.exceptions.ConfigSchemaValidationError(file_path='(Unkown)', message='')[source]#
Bases:
IntelligentDefaultsError,ValidationErrorRaised when a configuration file does not adhere to the schema
- fmt = 'Failed to validate configuration file from location: {file_path}. {message}'#
- exception sagemaker.core.utils.exceptions.DeleteFailedStatusError(resource_type='(Unkown)', reason='(Unkown)')[source]#
Bases:
WaiterErrorRaised when a resource enters a delete_failed state.
- fmt = 'Encountered unexpected delete_failed state while deleting {resource_type}. Failure Reason: {reason}'#
- exception sagemaker.core.utils.exceptions.FailedStatusError(resource_type='(Unkown)', status='(Unkown)', reason='(Unkown)')[source]#
Bases:
WaiterErrorRaised when a resource enters a failed state.
- fmt = 'Encountered unexpected failed state while waiting for {resource_type}. Final Resource State: {status}. Failure Reason: {reason}'#
- exception sagemaker.core.utils.exceptions.IntelligentDefaultsError(message='', **kwargs)[source]#
Bases:
SageMakerCoreErrorRaised when an error occurs in the Intelligent Defaults
- fmt = 'An error occurred while loading Intelligent Default. {message}'#
- exception sagemaker.core.utils.exceptions.LocalConfigNotFoundError(file_path='(Unkown)', message='')[source]#
Bases:
IntelligentDefaultsErrorRaised when a configuration file is not found in local file system
- fmt = 'Failed to load configuration file from location: {file_path}. {message}'#
- exception sagemaker.core.utils.exceptions.S3ConfigNotFoundError(s3_uri='(Unkown)', message='')[source]#
Bases:
IntelligentDefaultsErrorRaised when a configuration file is not found in S3
- fmt = 'Failed to load configuration file from S3 location: {s3_uri}. {message}'#
- exception sagemaker.core.utils.exceptions.SageMakerCoreError(**kwargs)[source]#
Bases:
ExceptionBase class for all exceptions in SageMaker Core
- fmt = 'An unspecified error occurred.'#
- exception sagemaker.core.utils.exceptions.TimeoutExceededError(resource_type='(Unkown)', status='(Unkown)', reason='(Unkown)')[source]#
Bases:
WaiterErrorRaised when a specified timeout is exceeded
- fmt = 'Timeout exceeded while waiting for {resource_type}. Final Resource State: {status}. Increase the timeout and try again.'#
- exception sagemaker.core.utils.exceptions.ValidationError(message='', **kwargs)[source]#
Bases:
SageMakerCoreErrorRaised when a validation error occurs.
- fmt = 'An error occurred while validating user input/setup. {message}'#
- exception sagemaker.core.utils.exceptions.WaiterError(resource_type='(Unkown)', status='(Unkown)', **kwargs)[source]#
Bases:
SageMakerCoreErrorRaised when an error occurs while waiting.
- fmt = 'An error occurred while waiting for {resource_type}. Final Resource State: {status}.'#