Checks definition before parsing
Displays error code in header