Ver Fonte

新增错误类型

xormplus há 9 anos atrás
pai
commit
d4f5c969f2
1 ficheiros alterados com 1 adições e 0 exclusões
  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")