v0.0.232
This commit is contained in:
@@ -80,6 +80,10 @@ func New(t ErrorType, msg string) *Builder {
|
||||
}
|
||||
|
||||
func Wrap(err error, msg string) *Builder {
|
||||
if err == nil {
|
||||
return &Builder{errorData: newExErr(CatSystem, TypeInternal, msg)} // prevent NPE if we call Wrap with err==nil
|
||||
}
|
||||
|
||||
if !pkgconfig.RecursiveErrors {
|
||||
v := FromError(err)
|
||||
v.Message = msg
|
||||
|
@@ -1,5 +1,5 @@
|
||||
package goext
|
||||
|
||||
const GoextVersion = "0.0.231"
|
||||
const GoextVersion = "0.0.232"
|
||||
|
||||
const GoextVersionTimestamp = "2023-08-08T16:10:31+0200"
|
||||
const GoextVersionTimestamp = "2023-08-08T18:01:00+0200"
|
||||
|
Reference in New Issue
Block a user