Explorar o código

新增错误类型

xormplus %!s(int64=9) %!d(string=hai) anos
pai
achega
d4f5c969f2
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      error.go

+ 1 - 0
error.go

@@ -10,6 +10,7 @@ import (
 
 var (
 	ErrParamsType      error = errors.New("Params type error")
+	ErrParamsFormat    error = errors.New("Params format error")
 	ErrTableNotFound   error = errors.New("Not found table")
 	ErrUnSupportedType error = errors.New("Unsupported type error")
 	ErrNotExist        error = errors.New("Not exist error")