Explorar el Código

新增错误类型

xormplus hace 9 años
padre
commit
d4f5c969f2
Se han modificado 1 ficheros con 1 adiciones y 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")