error

Summary

Writes a line to the standard error stream.

Signatures

Click on a signature to select it and view its documentation.

Usage

public static void error(...external messages)

Parameters

messages

The error message(s).

Description

Writes a line to the standard error stream.

If there is more than one error statement, they will each be written to distinct lines.

If there is no console available, this method does nothing. Additionally, if no standard error stream is available, this method does nothing.

Examples

Basic Usage
1
2
3
4
5
6
7
import System;
 
var a = "Error: First error message.";
var b = "Error: Second error message.";
Console.error(a);
Console.error(b);
Console.error(a, b);

Share

HTML | BBCode | Direct Link