Error name and message can now be null