Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ScriptError

import type { ScriptError } from "https://googleapis.deno.dev/v1/displayvideo:v3.ts";

An error message for a custom bidding script.

interface ScriptError {
column?: bigint;
errorCode?:
| "ERROR_CODE_UNSPECIFIED"
| "SYNTAX_ERROR"
| "DEPRECATED_SYNTAX"
| "INTERNAL_ERROR";
errorMessage?: string;
line?: bigint;
}

§Properties

§
column?: bigint
[src]

The column number in the script where the error was thrown.

§
errorCode?: "ERROR_CODE_UNSPECIFIED" | "SYNTAX_ERROR" | "DEPRECATED_SYNTAX" | "INTERNAL_ERROR"
[src]

The type of error.

§
errorMessage?: string
[src]

The detailed error message.

§
line?: bigint
[src]

The line number in the script where the error was thrown.