Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type DB ¶
type QueryError ¶
type QueryError struct {
// contains filtered or unexported fields
}
QueryError describes an error that occurred while processing the result of an SQL query, whether during query time or scan time.
func (*QueryError) Error ¶
func (qErr *QueryError) Error() string
Error implements the error interface
func (*QueryError) QueryArgs ¶
func (qErr *QueryError) QueryArgs() []interface{}
QueryArgs exposes the wrapped query arguments
func (*QueryError) QueryBody ¶
func (qErr *QueryError) QueryBody() string
QueryBody exposes the wrapped query body
func (*QueryError) String ¶
func (qErr *QueryError) String() string
String implements the Stringer interface. Simply returns Error().
func (*QueryError) Unwrap ¶
func (qErr *QueryError) Unwrap() error
Unwrap implements the Wrapper interface
Click to show internal directories.
Click to hide internal directories.