3 ms·
Whenever there's an error which is non-fatal. Do console.error("Your error") and it'll write to stderr or alternatively process.stderr.write("Your Error\n").
by popey456963 10y ago
Whenever there's an error which is non-fatal. Do console.error("Your error") and it'll write to stderr or alternatively process.stderr.write("Your Error\n").
Albeit rare in normal JS because it seems most things are fatal when they break, lots of libraries use it.