notifyError# notifyErrorFunction notifyErrornotifyError(msg: string): voidParametersmsg: stringReturns void