errorutil

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Nov 5, 2026 License: Apache-2.0 Imports: 6 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsCanceled added in v1.16.0

func IsCanceled(err error) bool

IsCanceled returns true if err indicates that an operation was canceled.

func IsSIGINTOrSIGTERMError added in v1.14.3

func IsSIGINTOrSIGTERMError(err error) bool

func PermissionDenied added in v1.4.2

func PermissionDenied(reason types.PermissionDeniedDetails_Reason, format string, args ...any) error

PermissionDenied formats a PermissionDenied error with an error string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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