errors

package
v0.0.0-...-aa8ecac Latest Latest
Warning

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

Go to latest
Published: Dec 10, 2024 License: Apache-2.0, MIT Imports: 1 Imported by: 16

Documentation

Overview

Package errors holds the standardized error definition for gVisor.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Error

type Error struct {
	// contains filtered or unexported fields
}

Error represents a syscall errno with a descriptive message.

func New

func New(err errno.Errno, message string) *Error

New creates a new *Error.

func (*Error) Errno

func (e *Error) Errno() errno.Errno

Errno returns the underlying errno.Errno value.

func (*Error) Error

func (e *Error) Error() string

Error implements error.Error.

Directories

Path Synopsis
Package linuxerr contains syscall error codes exported as an error interface pointers.
Package linuxerr contains syscall error codes exported as an error interface pointers.

Jump to

Keyboard shortcuts

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