Add error function without arg