Skip to main content
Module

x/vento/src/environment.ts>errorLine

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

Returns the number and code of the errored line

Parameters

source: string
pos: number

Returns

[number, number, string]