@@ -88,6 +88,10 @@ func (err *Error) Error() string {
return errMsg
}
+func (err *Error) WithStack() error {
+ return errors.WithStack(err)
+}
+
func newError(code uint32, message string) *Error {
return &Error{
code: code,