notifyErrorΒΆ notifyErrorFunction notifyErrornotifyError(msg: string): voidParametersmsg: stringReturns void