Overview
Polyaxon's Python library raises some of its own exceptions as well as standard Python exceptions.
The tracking module uses the same exception model, and can also raise exceptions from logging libraries such as matplotlib or pandas.
Core Exceptions
Polyaxon raises several exceptions, all classes are derived from:
from polyaxon.exceptions import PolyaxonExceptionSchema and Compiler Exceptions
During the parsing and validation of a Polyaxonfile or configurations, Polyaxon will raise:
from polyaxon.exceptions import PolyaxonSchemaError, PolyaxonfileError, PolyaxonCompilerErrorClient Exceptions
When performing API calls using the Python client, Polyaxon will raise:
from polyaxon.exceptions import PolyaxonClientException, PolyaxonHTTPErrorData validation
When logging metadata or artifacts, tracking calls can also raise:
TypeError
ValueError
OSError