import * as udiboReactApp from "https://deno.land/x/udibo_react_app@0.16.0/error.tsx";
Classes
Converts errors into error responses that the client can convert back into HttpErrors. | |
An error for an HTTP request. |
Variables
A context object that is used to provide errors on the server to the browser.
It takes an object with an optional |
Functions
A component that captures any errors within the boundary.
Unlike | |
A simple error fallback component that can be used to show the error and provide a button for trying again.
It takes a | |
Check if the response is an error response that can be converted to an HttpError. | |
Checks if the value as an HttpError. | |
A component that can be used to throw a 404 not found error. It is used as the default wildcard route at the top level of the app. | |
A hook that automatically resets the error boundary if the location changes.
It takes a | |
A higher-order component that wraps a component with an |
Interfaces
A format for sharing errors with the browser. With a consistent format for error responses, the client can convert them back into an HttpErrors. | |
Options for initializing an HttpError. |