Fix error handling when temporary fail cannot be opened (e.g. because of access error). catch doesn't work since open always returns child process reference when wait: false. It should address #64
Add sme-result- prefix to the temporary file.
Add 2 app errors: CannotCreateTempFile and CannotOpenTempFile in order to separate creating and opening an temporary HTML file
Coverage increased (+1.6%) to 98.092% when pulling 500b197f27a175629360b9008f1a6f54089eeae1 on temp-file-open-error-handling into e1ec2829139c0dea4493115b963e5fd196b0cf10 on master.
catch
doesn't work sinceopen
always returns child process reference whenwait: false
. It should address #64sme-result-
prefix to the temporary file.CannotCreateTempFile
andCannotOpenTempFile
in order to separate creating and opening an temporary HTML fileFixes #64