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

x/dtils/mod.ts>errorFromResponse

The best unofficial library of utilities for Deno applications
Go to Latest
function errorFromResponse
import { errorFromResponse } from "https://deno.land/x/dtils@2.2.0/mod.ts";

Parameters

status: number
text: string

Returns

Error