[docs]classAsdfWarning(Warning):""" The base warning class from which all ASDF warnings should inherit. """
[docs]classAsdfDeprecationWarning(AsdfWarning,DeprecationWarning):""" A warning class to indicate a deprecated feature. """
[docs]classAsdfConversionWarning(AsdfWarning):""" Warning class used for failures to convert data into custom types. """
classAsdfBlockIndexWarning(AsdfWarning):""" Warning class to indicate that a file was read with an invalid block index """
[docs]classDelimiterNotFoundError(ValueError):""" Indicates that a delimiter was not found when reading or seeking through a file. """
[docs]classAsdfProvisionalAPIWarning(AsdfWarning,FutureWarning):""" Used for provisional features where breaking API changes might be introduced at any point (including minor releases). These features are likely to be added in a future ASDF version. However, Use of provisional features is highly discouraged for production code. """
[docs]classAsdfPackageVersionWarning(AsdfWarning):""" A warning indicating a package version mismatch """
[docs]classAsdfManifestURIMismatchWarning(AsdfWarning):""" A warning indicaing that an extension registered with a manifest contains a id that does not match the uri of the manifest. """
[docs]classAsdfLazyReferenceError(ReferenceError):""" Indicates that the lazy tree node failed to resolve a reference to an AsdfFile instance. This likely means the AsdfFile was garbage collected and you may need to update your code to keep the AsdfFile in memory (by keeping a reference). """
[docs]classAsdfSerializationError(RepresenterError):""" An object failed serialization by asdf and by yaml. This likely indicates that the object does not have a supporting asdf Converter and needs to be manually converted to a supported type. """