Documentation ¶ Index ¶ func ValidFormat(str string) bool type ErrCode func New(code string, format string, reason string) ErrCode func (e ErrCode) Code() string func (e ErrCode) Error() string func (e ErrCode) Sprintf(msg ...any) ErrCode 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 Source Files ¶ View all Source files err.go Click to show internal directories. Click to hide internal directories.