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

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

Argon2 encryption library for Deno
Latest
method Command.prototype.error
Re-export
import { Command } from "https://deno.land/x/argon2@v0.9.2/cli/deps.ts";

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