error multimethod

Methods

error(s:Str) Source: stdlib.ngs:4007
Write error message to standard error.

Example

error("Failed to read configuration file. Will clean up and exit now.")
# Approximate output on stderr:
# [ERROR 2018-01-01 00:00:00 YOUR_TZ] Failed to read configuration file. Will clean up and exit now.
error(lines:Lines) Source: autoload/Lines.ngs:30
Write all lines to standard error using error(Str)