Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/udibo_react_app/mod.tsx>isErrorResponse

A React Framework for Deno that makes it easy to create highly interactive apps that have server side rendering with file based routing for both your UI and API.
Latest
function isErrorResponse
Re-export
import { isErrorResponse } from "https://deno.land/x/udibo_react_app@0.19.0/mod.tsx";

Check if the response is an error response that can be converted to an HttpError.

Type Parameters

optional
T extends Record<string, unknown> = Record<string, unknown>

Parameters

response: unknown

Returns

response is ErrorResponse<T>