Pilates
    Preparing search index...

    Interface PilatesErrorOptions

    interface PilatesErrorOptions {
        cause?: unknown;
        componentStack?: string;
        meta?: Record<string, unknown>;
        ownerStack?: string;
    }
    Index

    Properties

    cause?: unknown

    Wrapped underlying error (ES2022 Error.cause).

    For Sentry-friendly serialization via toJSON(), prefer passing an Error instance — serializeCause() flattens it to a plain { name, message, stack } object. Non-Error causes are passed through unchanged in toJSON(); callers passing arbitrary objects are responsible for making sure those objects are JSON-serializable (no circular refs, no functions, no Map/Set instances).

    componentStack?: string

    React component stack at the throw point. Set by the reconciler glue in render.tsx (onCaughtError / onUncaughtError / onRecoverableError), not by user code.

    meta?: Record<string, unknown>

    Structured error params (e.g. { received, suggestions: [...] }).

    ownerStack?: string

    Owner stack from React 19.1's captureOwnerStack(). Reserved for Phase 3; not populated in Phase 1.