Now handles errors in traditional node style