Source code for edri.api.headerkit.errors
__all__ = ["HeaderError", "InvalidHeader", "DuplicateHeader", "HeaderTooLarge", "ParseError"]
[docs]
class InvalidHeader(HeaderError):
"""Header name or value is syntactically invalid at the generic HTTP layer."""
[docs]
class DuplicateHeader(HeaderError):
"""A header was repeated where the selected policy requires a singleton."""
[docs]
class HeaderTooLarge(HeaderError):
"""The configured aggregate header-size limit was exceeded."""