@openpit/engine
    Preparing search index...

    Interface PolicyReject

    A reject raised by a custom Policy.

    scope selects an order-level reject ("order", rejects this order) or an account-level reject ("account", escalates to the account) and defaults to "order"; the exported RejectScope value set carries the same literals. userData defaults to 0 when omitted.

    interface PolicyReject {
        code: RejectCode;
        details: string;
        reason: string;
        scope?: RejectScope;
        userData?: number | bigint;
    }
    Index
    details: string
    reason: string
    scope?: RejectScope
    userData?: number | bigint