React Router API Reference
    Preparing search index...

    Interface ClientOnErrorFunction

    Function signature for client side error handling for loader/actions errors and rendering errors via componentDidCatch

    • Parameters

      • error: unknown
      • info: {
            errorInfo?: ErrorInfo;
            location: Location;
            params: Params;
            unstable_pattern: string;
        }

      Returns void