package tezos-mockup-proxy

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception Rpc_dir_creation_failure of Tezos_error_monad.TzCore.error list

Exception used by the proxy mode when creation of the input environment (of the RPC handler) fails. This exception is used to temporarily escape from monad, because at the point of throwing, the code is NOT in tzresult Lwt.t (because it's dealing with resto APIs: it's in an Lwt.t-only monad). Then this exception is injected back in the tzresult Lwt.t monad at the point where it is caught (with Lwt.catch).

The function local_ctxt directory creates an RPC context that executes RPCs locally.