← index

ProcessError

inherits Error · defined at core/00-bootstrap.qn:209

A subprocess failed its check: nonzero exit (or death by signal) where success was required. The payload is the full ProcessResult, so a handler can read the exit code and stderr.

{ ([OS]Process.run:#( 'false' )).check }.catch:{ |e:ProcessError| e.payload.exitCode }
"* -> 1