Skip to main content
Module

x/dtils/errors.ts>prependErrorMessageWith

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

Modifies the message field of error to be prepended with prepend

Parameters

error: unknown
prepend: string