Powerful error-handling for node