Skip to main content

When things fail

Error classes

All SDK errors extend SDKError and carry a .code and .details. Import them from @neus/sdk:

Polling Example

Private Proof Read Example

  • Don’t loop-create on ambiguous errors - keep stored qHashes for resume.
  • Say when a hosted step is required - avoid generic “error” only.
Last modified on June 15, 2026