status

package
v1.345.0 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2024 License: MIT Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Code

func Code(err error) int

Code from the error. If nil 200, otherwise 500.

func Error

func Error(code int, msg string) error

Error representing code and msg.

func IsError

func IsError(err error) bool

IsError verifies if the package created this error.

Types

This section is empty.

Jump to

Keyboard shortcuts

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