When things fail
Error classes
All SDK errors extendSDKError and carry a .code and .details. Import them from @proofable/sdk:
Poll a proof
Read a private proof
- On an ambiguous error, look up the stored
qHashbefore creating another proof. A duplicate proof costs credits. - When a hosted step is required, tell the user which step to complete.