SPARQLWrapper.SPARQLExceptions module
SPARQL Wrapper exceptions
- exception SPARQLWrapper.SPARQLExceptions.SPARQLWrapperException(response: Optional[bytes] = None)[source]
Bases:
ExceptionBase class for SPARQL Wrapper exceptions
- exception SPARQLWrapper.SPARQLExceptions.EndPointInternalError(response: Optional[bytes] = None)[source]
Bases:
SPARQLWrapper.SPARQLExceptions.SPARQLWrapperExceptionException type for Internal Server Error responses. Usually HTTP response status code
500.
- exception SPARQLWrapper.SPARQLExceptions.QueryBadFormed(response: Optional[bytes] = None)[source]
Bases:
SPARQLWrapper.SPARQLExceptions.SPARQLWrapperExceptionQuery Bad Formed exception. Usually HTTP response status code
400.
- exception SPARQLWrapper.SPARQLExceptions.EndPointNotFound(response: Optional[bytes] = None)[source]
Bases:
SPARQLWrapper.SPARQLExceptions.SPARQLWrapperExceptionEnd Point Not Found exception. Usually HTTP response status code
404.
- exception SPARQLWrapper.SPARQLExceptions.Unauthorized(response: Optional[bytes] = None)[source]
Bases:
SPARQLWrapper.SPARQLExceptions.SPARQLWrapperExceptionAccess is denied due to invalid credentials (unauthorized). Usually HTTP response status code
401.New in version 1.8.2.
- exception SPARQLWrapper.SPARQLExceptions.URITooLong(response: Optional[bytes] = None)[source]
Bases:
SPARQLWrapper.SPARQLExceptions.SPARQLWrapperExceptionThe URI requested by the client is longer than the server is willing to interpret. Usually HTTP response status code
414.New in version 1.8.3.