@openpit/engine
    Preparing search index...

    Module reject

    @openpit/engine/reject - business rejects and account-block types.

    Exposes the Reject value returned on a pipeline result, the stable RejectCode and RejectScope vocabularies, the out-of-band AccountBlock, and the AccountControl handle a policy uses to block accounts from a callback.

    A reject is NOT an exception: engine.startPreTrade() and request.execute() return rejects on the result object. The AccountBlockError thrown by the admin block operations is re-exported here for convenience; it is the same class as on the root @openpit/engine error surface.

    AccountBlock
    AccountControl
    Reject
    RejectCode
    RejectScope
    RejectCode
    RejectScope
    isEvaluationFailure
    AccountBlockError → AccountBlockError
    AccountBlockErrorKind → AccountBlockErrorKind