Adds user-friendly errors