statuserr

package
v0.0.0-...-5886a04 Latest Latest
Warning

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

Go to latest
Published: Jan 2, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JoinError

func JoinError(code int, err error) error

Types

type StatusError

type StatusError struct {
	Code    int
	Message string
}

func NewError

func NewError(code int, message string) StatusError

func (StatusError) Error

func (e StatusError) Error() string

func (StatusError) Status

func (e StatusError) Status() int

Jump to

Keyboard shortcuts

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