Add custom error code and message for the case when container format does not support a certain output format.
This commit is contained in:
@ -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";
|
||||
|
Reference in New Issue
Block a user