labapi.exceptions#

Custom exception types raised by labapi.

Exceptions

ApiError(message[, error_code])

LabArchives API returned an error or unexpected response.

AuthenticationError(message[, error_code])

Missing credentials or failed authentication flow.

ExtractionError

Structured parse/extraction failure while reading XML data.

LabArchivesError

Base for all labapi exceptions.

NodeExistsError

A tree node with the given name already exists (raised by InsertBehavior.Raise).

PathError(message, *[, path, parent])

Path construction or resolution failed.

TraversalError(message, *[, path, segment, ...])

Tree traversal failed.

TreeChildParseError

A tree child node could not be parsed from a tree-level response.