customerrors

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DuplicateRecord

type DuplicateRecord struct {
	Field string
}

func (*DuplicateRecord) Error

func (e *DuplicateRecord) Error() string

type ForeignKeyConstraint

type ForeignKeyConstraint struct {
	Field       string
	ParentTable string
}

func (*ForeignKeyConstraint) Error

func (e *ForeignKeyConstraint) Error() string

type RecordNotFound

type RecordNotFound struct {
}

RecordNotFound represents an error when a record is not found.

func (*RecordNotFound) Error

func (e *RecordNotFound) Error() string

Error implements the error interface for RecordNotFound.

type Unknown

type Unknown struct {
}

Unknown represents an error when something unknown happend.

func (*Unknown) Error

func (e *Unknown) Error() string

Jump to

Keyboard shortcuts

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