Skip to main content
Latest
class cli.ValidationError
extends FlagsError
Re-export
import { cli } from "https://deno.land/x/create_react_app@v0.1.2/deps.ts";
const { ValidationError } = cli;

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)