11 lines
205 B
Go
11 lines
205 B
Go
package utils
|
|
|
|
import "errors"
|
|
|
|
// 定义常见的错误
|
|
var (
|
|
ErrNoRecord = errors.New("no record found")
|
|
ErrSystemError = errors.New("system error")
|
|
ErrUnmashal = errors.New("unmashal error")
|
|
)
|