ErrorHandler: ((error) => void)

Type declaration