Package exitstatus allows an exit status to be pushed through an error
shaped hole. It should not be used to propagate an exit status through a
deep callstack as a single error wrapping will cause this to break.
FromError collects the exit status from the passed error if it exists. If it
finds an error without status code information then it returns 1 for
backwards compatibility.