Added error function in nova