Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
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.11.0/src/environment.ts";

Returns the number and code of the errored line

Parameters

source: string
pos: number

Returns

[number, number, string]