Module adcp.compat.legacy.errors

Error policy for transport-facing legacy adapter failures.

Classes

class LegacyAdapterValidationError (*args, **kwargs)
Expand source code
class LegacyAdapterValidationError(ValueError):
    """Buyer-correctable request error whose message is safe for the wire.

    Legacy request adapters may raise this exception when the failure is caused
    by caller input and the exception message was deliberately written for the
    buyer. Arbitrary exceptions, including ordinary ``ValueError`` instances,
    are treated as private implementation failures.
    """

Buyer-correctable request error whose message is safe for the wire.

Legacy request adapters may raise this exception when the failure is caused by caller input and the exception message was deliberately written for the buyer. Arbitrary exceptions, including ordinary ValueError instances, are treated as private implementation failures.

Ancestors

  • builtins.ValueError
  • builtins.Exception
  • builtins.BaseException