errs

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HTTPStatusError

type HTTPStatusError struct {
	StatusCode  int
	Message     string
	OriginalErr error
}

func IsHTTPStatusError

func IsHTTPStatusError(err error) (*HTTPStatusError, bool)

func NewHTTPStatusError

func NewHTTPStatusError(statusCode int, message string, originalErr error) *HTTPStatusError

func (*HTTPStatusError) Error

func (e *HTTPStatusError) Error() string

Jump to

Keyboard shortcuts

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