Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/env/env.js>EnvEmptyStringError

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

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

Constructors

new
EnvEmptyStringError(key)

Creates a new instance.