@cfxlabsinc/b2b-services
    Preparing search index...

    Type Alias LedgerAccountTransferCreateError

    LedgerAccountTransferCreateError:
        | ServiceError<
            "ENTITY_INACTIVE"
            | "ENTITY_NOT_FOUND"
            | "INVALID_TRANSFER",
        >
        | ServiceError<"INVALID_LEDGER_ACCOUNT", { ledgerAccountId: string }>
        | ServiceError<
            "INSUFFICIENT_FUNDS",
            { balance: LedgerAccountTransferAmount },
        >
        | ErrorReturnedBy<ProductQuoteService["quote"]>

    Errors returned by LedgerAccountTransferService.create.

    Named and exported rather than written inline on the method, because an inline union cannot reference typeof this.productQuoteService.quote: productQuoteService is a private member, private members are emitted without their types, and the whole union then degrades to unknown in the .d.ts. skipLibCheck hides that at the producer, so it surfaces only as result.error is of type unknown in every consumer — silently defeating the exhaustiveness checks the API controllers depend on. Referencing the injected service's exported type instead keeps the union nameable in declaration output.