Skip to content

Errors

dblurt exposes typed error metadata so applications can respond to error categories and retryability without parsing human-readable messages.

Error model

The important application-facing metadata is:

FieldMeaning
categoryBroad error family such as validation, transport, timeout or RPC application error.
codeStable SDK code such as DBLURT_TIMEOUT.
retryableWhether the error category appears transient. This is not permission to blindly repeat side-effectful operations.
field / pathOptional SDK validation location.
rpc_code / rpc_dataOptional JSON-RPC application error details.

Exact API shape: DBlurtErrorMetadata.

Main APIs

Retry guidance

retryable: true means the failure appears transient. It does not mean every operation is safe to retry.

WorkflowRetry posture
Read-only callbounded retry/backoff is usually reasonable.
Local operation builderretry is usually irrelevant; fix the input.
Broadcast with ambiguous network resultinspect chain state before resubmitting.

See Handle retryable errors for a task-oriented example.