Skip to content
This repository was archived by the owner on Sep 7, 2021. It is now read-only.
This repository is currently being migrated. It's locked while the migration is in progress.

Commit d966376

Browse files
Reasnolunny
authored andcommitted
grammar mistakes in output error message (#909)
* grammar mistakes in output error message `Not found table` => `Table not found` `Field is not exist` => `Field does not exist` * Update error.go
1 parent e5c980f commit d966376

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

error.go

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,21 @@ var (
1313
// ErrParamsType params error
1414
ErrParamsType = errors.New("Params type error")
1515
// ErrTableNotFound table not found error
16-
ErrTableNotFound = errors.New("Not found table")
16+
ErrTableNotFound = errors.New("Table not found")
1717
// ErrUnSupportedType unsupported error
1818
ErrUnSupportedType = errors.New("Unsupported type error")
19-
// ErrNotExist record is not exist error
20-
ErrNotExist = errors.New("Not exist error")
19+
// ErrNotExist record does not exist error
20+
ErrNotExist = errors.New("Record does not exist")
2121
// ErrCacheFailed cache failed error
2222
ErrCacheFailed = errors.New("Cache failed")
2323
// ErrNeedDeletedCond delete needs less one condition error
24-
ErrNeedDeletedCond = errors.New("Delete need at least one condition")
24+
ErrNeedDeletedCond = errors.New("Delete action needs at least one condition")
2525
// ErrNotImplemented not implemented
2626
ErrNotImplemented = errors.New("Not implemented")
2727
// ErrConditionType condition type unsupported
28-
ErrConditionType = errors.New("Unsupported conditon type")
29-
// ErrColumnIsNotExist columns is not exist
30-
ErrFieldIsNotExist = errors.New("Field is not exist")
28+
ErrConditionType = errors.New("Unsupported condition type")
29+
// ErrFieldIsNotExist columns does not exist
30+
ErrFieldIsNotExist = errors.New("Field does not exist")
3131
)
3232

3333
// ErrFieldIsNotValid is not valid

0 commit comments

Comments
 (0)