Throw an error when the blocktype can't be converted