Returns a function that will receive errors (or anything else that was thrown) and prints it to a console.
throw
console
The console to print errors to.
A function that will print errors to the console.
Returns a function that will receive errors (or anything else that was
throw
n) and prints it to aconsole
.