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