ClientErrors Klasse
Definiert Clientfehler, die auftreten können, wenn gegen benutzerdefinierte Kosteneinschränkungen verstoßen wird.
- Vererbung
-
builtins.objectClientErrors
Konstruktor
ClientErrors()
Attribute
ALL_ERRORS
ALL_ERRORS = {'An unknown error occurred.', 'CPU time exceeded the specified limit. Please consider increasing the CPU time limit.', 'Experiment timeout reached, skipping the iteration. Please consider increasing experiment_timeout_minutes.', 'Iteration timeout reached, skipping the iteration. Please consider increasing iteration_timeout_minutes.', 'Memory usage exceeded the specified limit or was killed by the OS due to low memory conditions. Please consider increasing available memory.', 'The subprocess was killed due to an error.', 'Wall clock time exceeded the specified limit. Please consider increasing the time limit.'}
EXCEEDED_EXPERIMENT_TIMEOUT_MINUTES
EXCEEDED_EXPERIMENT_TIMEOUT_MINUTES = 'Experiment timeout reached, skipping the iteration. Please consider increasing experiment_timeout_minutes.'
EXCEEDED_ITERATION_TIMEOUT_MINUTES
EXCEEDED_ITERATION_TIMEOUT_MINUTES = 'Iteration timeout reached, skipping the iteration. Please consider increasing iteration_timeout_minutes.'
EXCEEDED_MEMORY
EXCEEDED_MEMORY = 'Memory usage exceeded the specified limit or was killed by the OS due to low memory conditions. Please consider increasing available memory.'
EXCEEDED_TIME
EXCEEDED_TIME = 'Wall clock time exceeded the specified limit. Please consider increasing the time limit.'
EXCEEDED_TIME_CPU
EXCEEDED_TIME_CPU = 'CPU time exceeded the specified limit. Please consider increasing the CPU time limit.'
GENERIC_ERROR
GENERIC_ERROR = 'An unknown error occurred.'
SUBPROCESS_ERROR
SUBPROCESS_ERROR = 'The subprocess was killed due to an error.'
TIME_ERRORS
TIME_ERRORS = {'CPU time exceeded the specified limit. Please consider increasing the CPU time limit.', 'Experiment timeout reached, skipping the iteration. Please consider increasing experiment_timeout_minutes.', 'Iteration timeout reached, skipping the iteration. Please consider increasing iteration_timeout_minutes.', 'Wall clock time exceeded the specified limit. Please consider increasing the time limit.'}