rea-agents - v0.1.0
    Preparing search index...

    Function responseResult

    • Project a parsed response into its result or expected remote failure.

      Parameters

      • response:
            | { id: number; result: JSONType }
            | { error: { code: number; message: string }; id: number }

      Returns Result<JSONType, HopperRemoteError>