pgerrcode

package
v1.22.1-rc-multipart Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2021 License: AGPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package pgerrcode implements postgres error extraction without depending on a postgres library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromError

func FromError(err error) string

FromError returns the 5-character PostgreSQL error code string associated with the given error, if any.

Types

This section is empty.

Jump to

Keyboard shortcuts

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