package
0.33.0
Repository: https://github.com/target/goalert.git
Documentation: pkg.go.dev

# Functions

HTTPError will respond in a standard way when err != nil.
IsLimitError will determine if an error's cause is a limit.Error.
MapDBError will map known DB errors (like unique names) to a valiation error.
ScrubError will replace an err with a generic one if it is not a validation error.

# Interfaces

LimitError represents an error caused by a configured system limit.

# Type aliases

SafeError is an error string, safe to return to the client.