errutil

package
v0.9.1 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2025 License: MPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const RequestIDHeader = "X-Openstack-Request-Id"

Variables

This section is empty.

Functions

func Any

func Any(err error, errorCodes []int) bool

func As added in v0.8.2

func As(err error, errorCode int) (*gophercloud.ErrUnexpectedResponseCode, bool)

func ErrorWithRequestID added in v0.9.0

func ErrorWithRequestID(err error, requestID string) error

func Is

func Is(err error, errorCode int) bool

func IsNotFound

func IsNotFound(err error) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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