Skip to content

Latest commit

 

History

History
48 lines (37 loc) · 1.21 KB

exception-handling.md

File metadata and controls

48 lines (37 loc) · 1.21 KB
title sub_link meta_title meta_description visibility status tags sidebar
Exception handling
tracking/exception-handling
Exception handling - Tracking - Experimentation
Polyaxon's tracking module raises some of its own exceptions as well as standard Python exceptions.
public
published
client
api
polyaxon
python
tracking
reference
sdk
experimentation

Overview

The tracking module is based on the Python library and so it raises similar exceptions in addition to standard Python exceptions and exception coming from other modules, for example when logging an image or a dataframe, an exception can be raised from matplotlib or pandas.

Core Exceptions

Polyaxon raises several exceptions, all classes are derived from:

from polyaxon.exceptions import PolyaxonException

Data validation

When logging a metadata or an artifacts, the tracking can raise the following exceptions:

TypeError
ValueError
OSError

Client Exceptions

When performing API calls using the Python client, Polyaxon will raise:

from polyaxon.exceptions import PolyaxonClientException, PolyaxonHTTPError