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

x/vento/src/environment.ts>errorLine

🌬 A template engine for Deno & Node
Latest
function errorLine
import { errorLine } from "https://deno.land/x/vento@v1.12.11/src/environment.ts";

Returns the number and code of the errored line

Parameters

source: string
pos: number

Returns

[number, number, string]