error is never undefined right?