Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/algorithmiaio/algorithmia-python
/ raiseDataApiError
Function
raiseDataApiError
Algorithmia/errors.py:26–31 ·
view source on GitHub ↗
(result)
Source
from the content-addressed store, hash-verified
24
25
26
def
raiseDataApiError(result):
27
if
'error'
in result:
28
if
'message'
in result[
'error'
]:
29
return
DataApiError(result[
'error'
][
'message'
])
30
else
:
31
return
DataApiError(result[
'error'
])
32
33
34
def
raiseAlgoApiError(result):
Callers
6
put
Method · 0.90
putJson
Method · 0.90
putFile
Method · 0.90
delete
Method · 0.90
putJson
Method · 0.90
putFile
Method · 0.90
Calls
1
DataApiError
Class · 0.85
Tested by
no test coverage detected