mirror of
https://github.com/chaisql/chai.git
synced 2025-10-22 07:09:25 +08:00
Add examples and comments
This commit is contained in:
@@ -29,6 +29,9 @@ var (
|
||||
// ErrDuplicateRecord is returned when another record is already associated with a given key, primary key,
|
||||
// or if there is a unique index violation.
|
||||
ErrDuplicateRecord = errors.New("duplicate record")
|
||||
|
||||
// ErrResultClosed is returned when trying to close an already closed result.
|
||||
ErrResultClosed = errors.New("result already closed")
|
||||
)
|
||||
|
||||
// ParseError represents an error that occurred during parsing.
|
||||
|
Reference in New Issue
Block a user