modulepackage
0.0.0-20240910214636-b4009dc24281
Repository: https://github.com/tech4works/errors.git
Documentation: pkg.go.dev
# README
TODO
# Functions
Contains determines whether the error message from the 'err' error is found within the error message from the 'target' error.
Details function extracts detailed information from an error
This function works by extracting specific parts of the error message using regular expressions.
Is checks if the target error is the same as the error passed to it.
IsDetailed checks if a given error matches a detailed error regex.
IsNot checks if the target error is different from the error passed to it.
No description provided by the author
No description provided by the author
New constructs a new error instance with detailed information.
Newf constructs a new error instance with detailed information.
NewSkipCaller constructs a new Detail structure.
NewSkipCallerf creates a new error structured type `ErrorDetail`.
NotContains checks if the error message from the 'err' error is not found within the error message from the 'target' error.