Versions in this module Expand all Collapse all v0 v0.1.0 Jan 18, 2026 Changes in this version + var ErrNotParsable = errors.New("exit code is not parsable") + var ErrUnsupportedType = errors.New("unsupported type for exit code") + type Code uint8 + const Failure + const Success + func ParseCode[T uint8 | int | string](code T) (Code, error) + func (c Code) Equals(cmp Code) bool + func (c Code) Int() int + func (c Code) Succeeded() bool