Documentation
¶
Overview ¶
Package errorutil classifies internal failures without depending on rendered messages.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func All ¶
All reports whether every branch of an error tree contains a matching node. A match above a join does not hide an unrelated failure inside the join. match must inspect the supplied node, not search its descendants.
func UniqueViolation ¶
UniqueViolation matches a single repository or database-driver error node. Use All to classify wrapped or joined errors. Other constraint failures do not match.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.