xos

package
v0.0.0-...-a4e29ee Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 3, 2025 License: MIT Imports: 5 Imported by: 12

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ErrorExitCode

func ErrorExitCode(err error) int

func ExitFromError

func ExitFromError(err error)

func JoinPath

func JoinPath(s ...string) string

Types

type ExitCodeError

type ExitCodeError struct {
	Err      error
	ExitCode int
}

func NewExitCodeError

func NewExitCodeError(err error, exitCode int) *ExitCodeError

func (*ExitCodeError) Error

func (e *ExitCodeError) Error() string

func (*ExitCodeError) Unwrap

func (e *ExitCodeError) Unwrap() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL