License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
This commit is contained in:
Jakub Sztandera
2019-07-23 15:07:36 +02:00
parent 52f9060e0a
commit fd374fa180
+2 -1
View File
@@ -1,6 +1,7 @@
package aerrors
import (
"errors"
"fmt"
"golang.org/x/xerrors"
@@ -15,7 +16,7 @@ func New(retCode uint8, message string) ActorError {
msg: "tried creating an error and setting RetCode to 0",
frame: xerrors.Caller(1),
err: err,
err: errors.New(message),
}
}
return &actorError{