package
0.0.1
Repository: https://github.com/quangdangfit/go-admin.git
Documentation: pkg.go.dev

# Functions

AddErrorContext adds a context to an error.
Cause gives the original error.
GetCode get error code.
GetErrorContext returns the error context.
GetMsg from status.
GetType returns the error type.
New creates a no type error.
Newf creates a no type error with formatted message.
Stack get stacktrace of error.
Wrap wrans an error with a string.
Wrapf wraps an error with format string.

# Constants

constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
System errors.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.
constants define error types.

# Variables

Define some template errors.
Define some template errors.
Define some template errors.
ErrorCodeMap define map error and error message.
Define some template errors.
Define some template errors.
Define some template errors.
MsgMap message map.

# Structs

CustomError struct.

# Type aliases

ErrorType type.