v0.4.0
Is it ok, or is it an err?
Summary
This release differentiates between what is_ok and is_err do on ExecResult
and ExecResponse
. Previously ExecResponse
would be an err if the exit code of the execution was not 0, now it is based on the http status returned by Piston.
Additions
- Status field added to
ExecResponse
. - Testing for
ExecResponse
.
Changes
- Stdout field will now be an empty string if a non-200 status is received from Piston.
Full Changelog: v0.3.0...v0.4.0