errors

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Generic errors used in the repos layer

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMissingEntityError

func GetMissingEntityError(entityType string, identifier proto.Message) error

Types

type ErrorTransformer

type ErrorTransformer interface {
	ToDataCatalogError(err error) error
}

Defines the basic error transformer interface that all database types must implement.

func NewPostgresErrorTransformer

func NewPostgresErrorTransformer() ErrorTransformer

Jump to

Keyboard shortcuts

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