import { HttpError } from "https://deno.land/x/udibo_react_app@0.9.0/error.tsx";
Converts any HttpError like objects into an HttpError. If the object is already an instance of HttpError, it will be returned as is.
Parameters
error: HttpError<T> | Error | unknown