Errors
timenet.errors ¶source
TimeNet's exception hierarchy, and the warnings it raises.
Every TimeNet-raised error derives from :class:TimeNetError. Validation and manifest errors also
derive from :class:ValueError so existing except ValueError handlers keep working. TimeNet raises
the builtin FileNotFoundError and FileExistsError directly for user-supplied paths.
Every TimeNet-raised warning derives from :class:TimeNetWarning.
SpanOutsideWindowWarning ¶source
Bases: TimeNetWarning
An annotation's span falls outside the window of the series it names, and is kept.
TimeFEditError ¶source
Bases: TimeFValidationError
An edit would leave a dataset referentially inconsistent (for example, a dangling reference).
TimeFFormatError ¶source
Bases: TimeNetError
An on-disk TimeF artifact is corrupt or uses an unsupported format version.
TimeFValidationError ¶source
Bases: TimeNetError, ValueError
A dataset or its arrays violate a TimeF invariant (raised while building or writing).
TimeNetAccessError ¶source
Bases: TimeNetError
A dataset needs credentialed or restricted access, so TimeNet does not host its data.
TimeNetBuildError ¶source
Bases: TimeNetError
A build run failed: the connector build, or the environment it needed.
TimeNetDatasetNotFoundError ¶source
Bases: TimeNetError
A requested dataset id or version is not present in a registry or on disk.
TimeNetDownloadError ¶source
Bases: TimeNetError
TimeNet could not fetch a dataset's source data, or what arrived is not what was expected.
TimeNetInvalidCardError ¶source
Bases: TimeNetError, ValueError
A dataset card YAML is malformed or fails schema validation (raised while building).
TimeNetInvalidManifestError ¶source
Bases: TimeFFormatError, ValueError
A manifest.json is missing required blocks or fields, or TimeNet cannot parse it.
TimeNetRegistryError ¶source
Bases: TimeNetError
TimeNet could not load or reach a registry, or the registry could not serve a request.
TimeNetWarning ¶source
Bases: UserWarning
Base class for all TimeNet warnings.