Add a proper exception type for failed conversion