Pre-release — The API surface may change. Unaudited.
Callcium LogoCallcium
API

Errors

Error classes thrown by the SDK.

CallciumError

Thrown when a policy or descriptor blob is structurally malformed. The optional offset indicates the byte position in the source blob where the error was detected.

Git Source

PolicyViolationError

Thrown by PolicyEnforcer.enforce when calldata fails policy enforcement. Distinct from CallciumError("VALIDATION_ERROR"), which signals static issues in the policy itself. Carries the full list of violations (one per failed group).

Git Source

Types

CallciumErrorCode

Machine-readable error code for structural decoding and validation failures.

Git Source

Prop

Type

On this page