method Console.error
Console.error(text: string): void

Writes to the error stream. Diagnostics that must survive a swallowed stdout go here too.

Parameters

text: string

Return Type

void

Usage

import { type Console } from "lib/console.ts";