examples

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StatusError

type StatusError int
const (
	// InternalServerError
	// Something wrong in server
	InternalServerError StatusError = http.StatusInternalServerError*1e6 + iota + 1
)
const (
	// @errTalk Unauthorized
	Unauthorized StatusError = http.StatusUnauthorized*1e6 + iota + 1
)

func (StatusError) CanBeTalkError

func (v StatusError) CanBeTalkError() bool

func (StatusError) Code

func (v StatusError) Code() int

func (StatusError) Error

func (v StatusError) Error() string

func (StatusError) Key

func (v StatusError) Key() string

func (StatusError) Msg

func (v StatusError) Msg() string

func (StatusError) ServiceCode

func (StatusError) ServiceCode() int

func (StatusError) StatusCode

func (v StatusError) StatusCode() int

func (StatusError) StatusErr

func (StatusError) Unwrap

func (v StatusError) Unwrap() error

Jump to

Keyboard shortcuts

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