Spaces:
Sleeping
Sleeping
Download src/domain/errors/exceptions.py from Loren/rag-backend-api: direct link, hf CLI and curl.
- Browser
- Download file 157 Bytes
-
https://huggingface.co/spaces/Loren/rag-backend-api/resolve/main/src/domain/errors/exceptions.py
- Command line
-
hf download hf://spaces/Loren/rag-backend-api/src/domain/errors/exceptions.py
-
curl -L -o exceptions.py https://huggingface.co/spaces/Loren/rag-backend-api/resolve/main/src/domain/errors/exceptions.py
157 Bytes
| class DomainError(Exception): | |
| """Base domain exception.""" | |
| class EmptyQuestionError(DomainError): | |
| """Raised when a user asks an empty question.""" | |