Skip to content

Commit

Permalink
grammar mistakes in output error message (go-xorm#909)
Browse files Browse the repository at this point in the history
* grammar mistakes in output error message

`Not found table` => `Table not found`
`Field is not exist` => `Field does not exist`

* Update error.go
  • Loading branch information
Reasno authored and lunny committed Apr 23, 2018
1 parent e5c980f commit d966376
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions error.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,21 @@ var (
// ErrParamsType params error
ErrParamsType = errors.New("Params type error")
// ErrTableNotFound table not found error
ErrTableNotFound = errors.New("Not found table")
ErrTableNotFound = errors.New("Table not found")
// ErrUnSupportedType unsupported error
ErrUnSupportedType = errors.New("Unsupported type error")
// ErrNotExist record is not exist error
ErrNotExist = errors.New("Not exist error")
// ErrNotExist record does not exist error
ErrNotExist = errors.New("Record does not exist")
// ErrCacheFailed cache failed error
ErrCacheFailed = errors.New("Cache failed")
// ErrNeedDeletedCond delete needs less one condition error
ErrNeedDeletedCond = errors.New("Delete need at least one condition")
ErrNeedDeletedCond = errors.New("Delete action needs at least one condition")
// ErrNotImplemented not implemented
ErrNotImplemented = errors.New("Not implemented")
// ErrConditionType condition type unsupported
ErrConditionType = errors.New("Unsupported conditon type")
// ErrColumnIsNotExist columns is not exist
ErrFieldIsNotExist = errors.New("Field is not exist")
ErrConditionType = errors.New("Unsupported condition type")
// ErrFieldIsNotExist columns does not exist
ErrFieldIsNotExist = errors.New("Field does not exist")
)

// ErrFieldIsNotValid is not valid
Expand Down

0 comments on commit d966376

Please sign in to comment.