errorcode

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ErrCode

type ErrCode struct {
	Code    int
	Message string
}

func NewErrCode

func NewErrCode(code int, message string) *ErrCode

func (*ErrCode) ErrCode

func (x *ErrCode) ErrCode() int

func (*ErrCode) Error

func (x *ErrCode) Error() string

type ErrCodeInterface

type ErrCodeInterface interface {
	ErrCode() int
	error
}

Jump to

Keyboard shortcuts

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