The state of a route which has thrown an error during rendering or from a data loader.

interface ErrorState {
    error: any;
    status: "error";
}

Properties

Properties

error: any

A thrown error.

status

The route status.