default
default: { error: (err: Error, message?: string) => void; info: (message: string) => void }
Type declaration
-
error: (err: Error, message?: string) => void
-
- (err: Error, message?: string): void
-
Parameters
-
err: Error
-
Optional message: string
Returns void
-
info: (message: string) => void
Show a with an error message
(and log it to the console as well)