adding notice error
Merge pull request #11 from TroodoNmike/master

Adding error notice method