Skip to main content
Module

x/create_react_app/deps.ts>cli.Command#error

Create React App with Deno
Latest
method cli.Command.prototype.error
Re-export
import { cli } from "https://deno.land/x/create_react_app@v0.1.2/deps.ts";
const { Command } = cli;

Handle error. If throwErrors is enabled the error will be returned, otherwise a formatted error message will be printed and Deno.exit(1) will be called.

Parameters

error: Error

Error to handle.

Returns

Error