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; pattern: string }

      Returns void