Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetErrorDetails ¶ added in v1.0.6
GetErrorDetails we obtain the values of an error detail separately, if the parameter is nil we return all empty values, and if the passed error parameter is not in the desired pattern, we return only the filled message and the rest empty.
func IsErrorDetail ¶
IsErrorDetail check if the error is an errorDetail containing the pattern with file name, line, function name and message
func New ¶
New error with space separated message values, if the message parameter is empty we return a nil value, otherwise returns normal value
func NewSkipCaller ¶
NewSkipCaller error with message values separate per space and skipCaller, if the message parameter is empty we return a nil value, otherwise returns normal value
Types ¶
This section is empty.