hack-house/.venv/lib/python3.12/site-packages/sanic_routing/exceptions.py
leetcrypt bb1d662ee1 chore: rename project coven → hack-house ⛧
Rebrand the Rust client crate (coven/ → hh/, package+binary "hack-house"),
README, CLI strings, and branch (coven → hack-house). Gitea repo renamed
cmd-chat → hack-house to match. Crypto/server logic unchanged; selftest +
golden-vector test still green, binary is now `hack-house`.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-05-30 13:29:14 -07:00

50 lines
895 B
Python

from typing import Optional, Set
class BaseException(Exception):
...
class NotFound(BaseException):
def __init__(
self,
message: str = "Not Found",
path: Optional[str] = None,
):
super().__init__(message)
self.path = path
class BadMethod(BaseException):
...
class NoMethod(BaseException):
def __init__(
self,
message: str = "Method does not exist",
method: Optional[str] = None,
allowed_methods: Optional[Set[str]] = None,
path: Optional[str] = None,
):
super().__init__(message)
self.method = method
self.allowed_methods = allowed_methods
self.path = path
class FinalizationError(BaseException):
...
class InvalidUsage(BaseException):
...
class RouteExists(BaseException):
...
class ParameterNameConflicts(BaseException):
...