# Functions
DefaultSeverity returns the default severity (ERROR) if no valid severity has been defined.
Flatten returns a flattened error which could be used to construct Postgres wire error messages.
GetCode returns the Postgres error code inside the given error.
GetConstraintName returns the Postgres error constraint name inside the given error.
GetSeverity returns the Postgres error severity inside the given error.
WithCode decorates the error with a Postgres error code.
WithConstraintName decorates the error with a Postgres error constraint.
WithSeverity decorates the error with a Postgres error severity.
# Constants
Represents the severity of a thrown error.
Represents the severity of a thrown error.
Represents the severity of a thrown error.
Represents the severity of a thrown error.
Represents the severity of a thrown error.
Represents the severity of a thrown error.
Represents the severity of a thrown error.
Represents the severity of a thrown error.
# Type aliases
Severity represents the severity of a thrown error.