errs

package
v0.0.18 Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package errs provides convenient constructs to work with errors

Index

Constants

This section is empty.

Variables

View Source
var ErrLeaseHeld = errors.New("lease: already held by another holder")

Functions

func IgnoreNotFound

func IgnoreNotFound(err error) error

func IsConflict

func IsConflict(err error) bool

func IsNotFound

func IsNotFound(err error) bool

func IsPermissionDenied

func IsPermissionDenied(err error) bool

func ToStatus

func ToStatus(err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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