Skip to main content

BadPayload

Python API reference for the class exc.BadPayload.

Public API

Class: BadPayload

Canonical path: exc.BadPayload

Declared in: exc.py

Signature

class BadPayload(BadData): ...

Summary

Raised if a payload is invalid. This could happen if the payload is loaded despite an invalid signature, or if there is a mismatch between the serializer and deserializer. The original exception that occurred during loading is stored on as :attr:`original_error`.