errors

package
v1.20.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 31, 2024 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SQLError

type SQLError struct {
	// contains filtered or unexported fields
}

func NewWithSQL

func NewWithSQL(err error, sql string) *SQLError

func (*SQLError) Error

func (e *SQLError) Error() string

func (*SQLError) Statement

func (e *SQLError) Statement() string

Statement produces the SQL statement that produced the error, if this is known.

func (*SQLError) String

func (e *SQLError) String() string

func (*SQLError) Unwrap

func (e *SQLError) Unwrap() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL