errorx

package
v0.1.23 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsAlreadyExists

func IsAlreadyExists(err error) bool

IsAlreadyExists checks if an error is an already exists error.

func IsBadRequest

func IsBadRequest(err error) bool

IsBadRequest checks if an error is a bad request error.

func IsConflict

func IsConflict(err error) bool

IsConflict checks if an error is a conflict error.

func IsForbidden

func IsForbidden(err error) bool

IsForbidden checks if an error is a forbidden error.

func IsGone

func IsGone(err error) bool

IsGone checks if an error is a gone error.

func IsInvalid

func IsInvalid(err error) bool

IsInvalid checks if an error is an invalid error.

func IsNotFound

func IsNotFound(err error) bool

IsNotFound checks if an error is a not found error.

func IsServerTimeout

func IsServerTimeout(err error) bool

IsServerTimeout checks if an error is a server timeout error.

func IsServiceUnavailable

func IsServiceUnavailable(err error) bool

IsServiceUnavailable checks if an error is a service unavailable error.

func IsTimeout

func IsTimeout(err error) bool

IsTimeout checks if an error is a timeout error.

func IsUnauthorized

func IsUnauthorized(err error) bool

IsUnauthorized checks if an error is an unauthorized error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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