Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/view_engine/node_modules/@types/ejs/index.d.ts>RethrowCallback

🚀A Template View Engine for Deno frameworks
Latest
type alias RethrowCallback
import { type RethrowCallback } from "https://deno.land/x/view_engine@v10.6.0/node_modules/@types/ejs/index.d.ts";

This type of callback is used when Options.compileDebug is true, and an error in the template is thrown.

By default it is used to rethrow an error in a better-formatted way.

definition: (
err: Error,
str: string,
filename: string | null | undefined,
lineno: number,
) => never