@whi/cf-routing - v0.2.0
    Preparing search index...

    Function handleMiddleware

    • Wrapper function for middleware to handle errors consistently

      Type Parameters

      Parameters

      Returns (request: Request, env: any) => Promise<Response | null>

      A wrapped middleware function that handles errors