<reponame>nairobi222/indy-catalyst
"""Ledger related errors."""

from ..error import BaseError


class ClosedPoolError(BaseError):
    """Indy pool is closed."""


class LedgerTransactionError(BaseError):
    """The ledger rejected the transaction."""


class DuplicateSchemaError(BaseError):
    """The schema already exists on the ledger."""

"""Ledger related errors."""

from ..error import BaseError


class ClosedPoolError(BaseError):
    """Indy pool is closed."""


class LedgerTransactionError(BaseError):
    """The ledger rejected the transaction."""


class DuplicateSchemaError(BaseError):
    """The schema already exists on the ledger."""
Ledger related errors. Indy pool is closed. The ledger rejected the transaction. The schema already exists on the ledger.