errors

package
v0.0.0-...-957f62e Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2023 License: Apache-2.0, MIT Imports: 1 Imported by: 0

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