diff --git a/pesachat-core/pesachat_core/exceptions.py b/pesachat-core/pesachat_core/exceptions.py new file mode 100644 index 0000000..fb57542 --- /dev/null +++ b/pesachat-core/pesachat_core/exceptions.py @@ -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.""" \ No newline at end of file