clarin.sru.exception¶
- exception clarin.sru.exception.SRUException(uri: str, details: str | None = None, message: str | None = None, *args)[source]¶
Bases:
Exception
An exception raised, if something went wrong processing the request. For diagnostic codes, see constants in SRUConstant.
See also
SRUConstant
- get_diagnostic() SRUDiagnostic [source]¶
Create a SRU diagnostic from this exception.