Throw error if internal definition can't be parsed