typed error