Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/env/env.js>EnvEmptyStringError

A utility for verifying environment variables are present
Go to Latest
class EnvEmptyStringError
extends Error
import { EnvEmptyStringError } from "https://deno.land/x/env@v3.0.3/env.js";

The error thrown when a required key is present but is an empty string.

Constructors

new
EnvEmptyStringError(key)

Creates a new instance.