Added error to defines