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

x/cliffy/flags/mod.ts>ValidationError

Command line framework for deno 🦕 Including Commandline-Interfaces, Prompts, CLI-Table, Arguments Parser and more...
Extremely Popular
Go to Latest
class ValidationError
extends FlagsError
import { ValidationError } from "https://deno.land/x/cliffy@v0.18.2/flags/mod.ts";

A validation error is thrown when the command is wrongly used by the user. For example: If the user passes some invalid options or arguments to the command.

Constructors

new
ValidationError(message: string)