Return Error::success() or use TempPath and OutputPath to create a TempFileOutputError, depending on EC.
Synopsis
Return Value
Error::success() if EC indicates success; otherwise a TempFileOutputError.
Parameters
Name |
Description |
TempPath |
Path of the temporary file associated with the error. |
OutputPath |
Path of the final output associated with the error. |
EC |
Error code; on success, returns Error::success(). |
Created with MrDocs