Documentation
¶
Overview ¶
Package dalerrs provides common error handling utilities for all domain-specific DALs, e.g. controller DAL and configuration DAL, which all connect to the same underlying DB and maintain the same interface guarantees
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrConflict is returned by select methods in the DAL when a resource already exists. // // Its use will be documented in the corresponding methods. ErrConflict = errors.New("conflict") // ErrNotFound is returned by select methods in the DAL when no results are found. ErrNotFound = errors.New("not found") // ErrConstraint is returned by select methods in the DAL when a constraint is violated. ErrConstraint = errors.New("constraint violation") )
Functions ¶
func IsNotFound ¶
func TranslatePGError ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.