Files
ServerSync/lib/secretstorage/__pycache__/exceptions.cpython-314.pyc

30 lines
2.2 KiB
Plaintext
Raw Normal View History

2026-02-19 00:55:27 +02:00
+
<00>;<3B>iw<00><00>x<00>Rt!RR]4t!RR]4t!RR]4t!RR]4t!R R
]4tR #) z<>All secretstorage functions may raise various exceptions when
something goes wrong. All exceptions derive from base
:exc:`SecretStorageException` class.c<00><00>]tRt^ tRtRtR#)<04>SecretStorageExceptionz&All exceptions derive from this class.<2E>N<><06>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__firstlineno__<5F>__doc__<5F>__static_attributes__r<00><00>?/tmp/pip-target-ugtna5l2/lib/python/secretstorage/exceptions.pyrr s<00><00>0r rc<00><00>]tRt^tRtRtR#)<04>"SecretServiceNotAvailableExceptionz<6E>Raised by :class:`~secretstorage.item.Item` or
:class:`~secretstorage.collection.Collection` constructors, or by
other functions in the :mod:`secretstorage.collection` module, when
the Secret Service API is not available.rNrrr r rrs<00><00>0r rc<00><00>]tRt^tRtRtR#)<04>LockedExceptionz<6E>Raised when an action cannot be performed because the collection
is locked. Use :meth:`~secretstorage.collection.Collection.is_locked`
to check if the collection is locked, and
:meth:`~secretstorage.collection.Collection.unlock` to unlock it.
rNrrr r rrs<00><00>r rc<00><00>]tRt^tRtRtR#)<04>ItemNotFoundExceptiona^Raised when an item does not exist or has been deleted. Example of
handling:
>>> import secretstorage
>>> connection = secretstorage.dbus_init()
>>> item_path = '/not/existing/path'
>>> try:
... item = secretstorage.Item(connection, item_path)
... except secretstorage.ItemNotFoundException:
... print('Item not found!')
...
Item not found!
rNrrr r rrs<00><00> r rc<00><00>]tRt^.tRtRtR#)<04>PromptDismissedExceptionzGRaised when a prompt was dismissed by the user.
.. versionadded:: 3.1
rNrrr r rr.s<00><00>r rN)r
<00> Exceptionrrrrrrr r <00><module>rsJ<00><01> (<28>
1<>Y<EFBFBD>1<>0<>)?<3F>0<><08>,<2C><08> <08>2<> <08> <08>4<>r