customerror

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2021 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RecordNotFound

type RecordNotFound struct {
	Type             string
	IdentifierColumn string
	Identifier       string
	Err              error
	PrintOriginalErr bool
}

RecordNotFound is a custom error which could be thrown if API or DB records were not found

func (*RecordNotFound) Error

func (e *RecordNotFound) Error() string

Error prints the full error message as string

Jump to

Keyboard shortcuts

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