errors

package
v0.0.0-...-79003c6 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2020 License: Apache-2.0, Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// MjrPostgres is the major error classification for the postgres repository.
	MjrPostgres errors.Major

	// ClassUnmappedError is the error classification for unmapped errors.
	ClassUnmappedError errors.Class

	// ClassInternal is the internal error in the postgres repository package.
	ClassInternal errors.Class
)

Functions

func Get

func Get(err error) (errors.Class, bool)

Get gets the mapped postgres pq.Error to the neuron error class.

Types

This section is empty.

Jump to

Keyboard shortcuts

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