errno

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2025 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Iter

func Iter() iter.Seq[*Errno]

Types

type Errno

type Errno struct {
	syscall.Errno
	// contains filtered or unexported fields
}

func New

func New[T unix.Errno | constraints.Integer](unixErr T, options ...Option) *Errno

func (*Errno) Error

func (e *Errno) Error() string

func (*Errno) Name

func (e *Errno) Name() string

func (*Errno) Valid

func (e *Errno) Valid() bool

type Option

type Option func(e *Errno)

func WithDescription

func WithDescription(description string) Option

func WithName

func WithName(name string) Option

Jump to

Keyboard shortcuts

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