sqlite3

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package sqlite provides error wrapping capabilities for use with the github.com/mattn/go-sqlite3 sqlite driver.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewError

func NewError(resource string, err error) error

Types

type Err

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

func (Err) Conflict

func (c Err) Conflict() bool

func (Err) Error

func (e Err) Error() string

func (Err) Exists added in v0.0.2

func (c Err) Exists() bool

func (Err) NotFound

func (c Err) NotFound() bool

func (*Err) Retry

func (c *Err) Retry() bool

func (*Err) Unwrap

func (c *Err) Unwrap() error

Jump to

Keyboard shortcuts

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