Skip to main content
Module

std/dotenv/mod.ts>MissingEnvVarsError

The Deno Standard Library
Go to Latest
class MissingEnvVarsError
extends Error
import { MissingEnvVarsError } from "https://deno.land/std@0.223.0/dotenv/mod.ts";

Error thrown in load and loadSync when required environment variables are missing.

Constructors

new
MissingEnvVarsError(message: string, missing: string[])

Constructs a new instance.

Properties

missing: string[]

The keys of the missing environment variables.