class documentation

class AlphaGetMetadataError(GetMetadataError): (source)

View In Hierarchy

This class acts as a tagged union. Only one of the ``is_*`` methods will return true. To get the associated value of a tag (if one exists), use the corresponding ``get_*`` method.

Class Method properties_error Create an instance of this class set to the ``properties_error`` tag with value ``val``.
Method get_properties_error Only call this if :meth:`is_properties_error` is true.
Method is_properties_error Check if the union tag is ``properties_error``.
Method _process_custom_annotations Undocumented

Inherited from GetMetadataError:

Class Method path Create an instance of this class set to the ``path`` tag with value ``val``.
Method get_path Only call this if :meth:`is_path` is true.
Method is_path Check if the union tag is ``path``.
Class Variable _catch_all Undocumented
@classmethod
def properties_error(cls, val): (source)

Create an instance of this class set to the ``properties_error`` tag with value ``val``. :param file_properties.LookUpPropertiesError val: :rtype: AlphaGetMetadataError

def get_properties_error(self): (source)

Only call this if :meth:`is_properties_error` is true. :rtype: file_properties.LookUpPropertiesError

def is_properties_error(self): (source)

Check if the union tag is ``properties_error``. :rtype: bool

def _process_custom_annotations(self, annotation_type, field_path, processor): (source)