Go to Latest
class MissingEnvVarsError
extends Error
import { MissingEnvVarsError } from "https://dotland.deno.dev/std@0.221.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.