Skip to content

Class peagen.errors.PATNotAllowedError

peagen.errors.PATNotAllowedError

PATNotAllowedError()

Bases: RuntimeError

Raised when a PAT token is passed to a forbidden command.

Source code in peagen/errors.py
177
178
def __init__(self) -> None:
    super().__init__("PAT tokens are not allowed for this command")