httperrors

package
v1.3.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Is404

func Is404(err error) bool

Is404 returns true if err is an HTTP 404 error

func IsHTTPCodeError

func IsHTTPCodeError(err error, statusCode int) bool

IsHTTPCodeError returns true if err is an http error with code statusCode

Types

This section is empty.

Jump to

Keyboard shortcuts

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