Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions pesachat-core/pesachat_core/exceptions.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
class PesaChatError(Exception):
"""Base exception for all PesaChat errors."""


class AnchorError(PesaChatError):
"""Raised when an anchor operation fails."""


class AuthError(PesaChatError):
"""Raised when authentication or authorisation fails."""
Loading