Enter to send·Shift+Enter new line
WithCode returns err with an explicit exit code, which For returns in.
func WithCode(err error, code int) error
WithCode returns err with an explicit exit code, which For returns in preference to anything it would infer from the error.
err
error
code
int