class LookupError(bb.Union): (source)
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. :ivar file_properties.LookupError.not_found: There is nothing at the given path. :ivar file_properties.LookupError.not_file: We were expecting a file, but the given path refers to something that isn't a file. :ivar file_properties.LookupError.not_folder: We were expecting a folder, but the given path refers to something that isn't a folder. :ivar file_properties.LookupError.restricted_content: The file cannot be transferred because the content is restricted. For example, we might restrict a file due to legal requirements.
Class Method | malformed |
Create an instance of this class set to the ``malformed_path`` tag with value ``val``. |
Method | get |
Only call this if :meth:`is_malformed_path` is true. |
Method | is |
Check if the union tag is ``malformed_path``. |
Method | is |
Check if the union tag is ``not_file``. |
Method | is |
Check if the union tag is ``not_folder``. |
Method | is |
Check if the union tag is ``not_found``. |
Method | is |
Check if the union tag is ``other``. |
Method | is |
Check if the union tag is ``restricted_content``. |
Class Variable | not |
Undocumented |
Class Variable | not |
Undocumented |
Class Variable | not |
Undocumented |
Class Variable | other |
Undocumented |
Class Variable | restricted |
Undocumented |
Method | _process |
Undocumented |
Class Variable | _catch |
Undocumented |