Source code for acapy_agent.revocation.error

"""Revocation error classes."""

from ..core.error import BaseError


[docs] class RevocationError(BaseError): """Base exception for revocation-related errors."""
[docs] class RevocationNotSupportedError(RevocationError): """Attempted to perform revocation-related operation where inapplicable."""
[docs] class RevocationRegistryBadSizeError(RevocationError): """Attempted to create registry with maximum credentials too large or too small."""
[docs] class RevocationInvalidStateValueError(RevocationError): """Invalid Revocation Registry State value."""