MCPcopy Create free account
hub / github.com/brimdata/super / RequestError

Class RequestError

python/superdb/superdb.py:79–83  ·  view source on GitHub ↗

Raised by Client methods when an HTTP request fails.

Source from the content-addressed store, hash-verified

77
78
79class RequestError(Exception):
80 """Raised by Client methods when an HTTP request fails."""
81 def __init__(self, message, response):
82 super(RequestError, self).__init__(message)
83 self.response = response
84
85
86class QueryError(Exception):

Callers 1

__raise_for_statusMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected