The errors returned from spicedb typically have a ...
# spicedb
s
The errors returned from spicedb typically have a numerical error code, or at least from the nodejs client they do