err

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidFormat

func ValidFormat(str string) bool

Types

type ErrCode

type ErrCode struct {
	// contains filtered or unexported fields
}

func New

func New(code string, format string, reason string) ErrCode

func (ErrCode) Code

func (e ErrCode) Code() string

func (ErrCode) Error

func (e ErrCode) Error() string

func (ErrCode) Sprintf

func (e ErrCode) Sprintf(msg ...any) ErrCode

Jump to

Keyboard shortcuts

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