string_format: change exception type