Add custom error code and message for the case when container format does not support a certain output format.

This commit is contained in:
castano
2008-11-19 08:10:54 +00:00
parent 6d1891a7e9
commit 5fa27adfcd
4 changed files with 5 additions and 1 deletions

View File

@ -42,6 +42,8 @@ const char * nvtt::errorString(Error e)
return "Error opening file";
case Error_FileWrite:
return "Error writing through output handler";
case Error_UnsupportedOutputFormat:
return "The container file does not support the selected output format";
}
return "Invalid error";