浏览代码

新增错误类型

xormplus 9 年之前
父节点
当前提交
d4f5c969f2
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      error.go

+ 1 - 0
error.go

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