Expand description
Pause the current task by placing it on the stack and stopping timing.
Errors
- Return
PathError::FilenameMissingif the log file or stack file is missing. - Return
PathError::InvalidPathif the path part of the log or stack file is not a valid path. - Return
PathError::FileAccessif the file cannot be opened or created. - Return
PathError::FileWriteif the function fails to append to the file.