function formatRequestError
formatRequestError(
method: string,
path: string,
error: unknown
): string

Format an error detail string with request context and error message

Parameters

method: string
path: string
error: unknown

Return Type

string

Usage

import { formatRequestError } from "docs/utilities.ts";