exceptionutil

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Nov 4, 2026 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package exceptionutil is the FDB part of Java's ExceptionUtil (fdb-relational-core): FDB error codes to SQLSTATEs, kept out of api so api stays free of FDB types.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FDBErrorCode

func FDBErrorCode(err error) (int, bool)

FDBErrorCode returns the FDB error code err's chain carries, in either form.

func TranslateFDBError

func TranslateFDBError(err error) error

TranslateFDBError gives an FDB-coded error its SQLSTATE, the single mapping every relational entry point uses; an unmapped code is returned unchanged.

Types

This section is empty.

Jump to

Keyboard shortcuts

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