Console.error()

Output an error message to the console.

The message will be written to stderr.

Usage

Hover over inputs/exits for more info.

var Console = require('machinepack-console');


// Output an error message to the console.

Console.error({

value: '===',

}).execSync();

Inputs

value

The value that will be written to the console.

'==='

Exits

error

An unexpected error occurred.

success

OK.