[deepinfra-node README]: AuthenticationError is 401: bad or missing API key. NotFoundError is 404: the model or resource does not exist. ConflictError is 409: for sandboxes, an exec on a stopped sandbox. RateLimitError is 429: for sandboxes this is the per-account cap, and TooManySandboxesError is an alias. CapacityError is 503: the provider is at capacity, retry later. SDK-side errors are separate: SandboxTimeoutError, SandboxFailedError, CommandFailedError. If Sandbox.create fails while waiting, the error carries the sandboxId so you can inspect or terminate the half-created sandbox.

Context: The DeepInfra SDK raises a typed error per status code. Reading the type instead of the message tells you the fix.