Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ErrConstraint ¶
type ErrConstraint struct {
// contains filtered or unexported fields
}
ErrConstraint is used to report that a check constaint was violated.
func (ErrConstraint) Error ¶
func (err ErrConstraint) Error() string
func (ErrConstraint) Query ¶
func (err ErrConstraint) Query() *Query
Query implements EmptyResultErr.
func (ErrConstraint) Unwrap ¶
func (err ErrConstraint) Unwrap() error
Unwrap implements EmptyResultErr.
type ErrExists ¶
type ErrExists struct {
// contains filtered or unexported fields
}
ErrExists is used to report that a record alredy exists.
type ErrNotFound ¶
type ErrNotFound struct {
// contains filtered or unexported fields
}
ErrNotFound reports that query returned empty result.
func (ErrNotFound) Error ¶
func (err ErrNotFound) Error() string
type ErrTimeout ¶
type ErrTimeout struct {
// contains filtered or unexported fields
}
ErrTimeout is used to report that query timeouted.
func (ErrTimeout) Error ¶
func (err ErrTimeout) Error() string
type UnknownErr ¶
type UnknownErr struct {
// contains filtered or unexported fields
}
UnknownErr represents MySQL error wich is not recognized.
func (UnknownErr) Error ¶
func (err UnknownErr) Error() string
func (UnknownErr) Unwrap ¶
func (err UnknownErr) Unwrap() error
Click to show internal directories.
Click to hide internal directories.