From 3afb43a5d46f5344ec17618f1a3c25eae8908aaa Mon Sep 17 00:00:00 2001 From: Christopher Gearnsc Date: Tue, 3 Aug 2021 14:55:35 -0700 Subject: [PATCH] fix err interface PiperOrigin-RevId: 388550824 --- go/helpers/helpers.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/go/helpers/helpers.go b/go/helpers/helpers.go index c78cd3dc..9a288963 100644 --- a/go/helpers/helpers.go +++ b/go/helpers/helpers.go @@ -86,12 +86,12 @@ var ( ) // Satisfies the Error interface and returns the simple error string associated with the execution. -func (e *ExecError) Error() string { +func (e ExecError) Error() string { return e.errmsg } // Result returns any information that could be captured from the subprocess that was executed. -func (e *ExecError) Result() ExecResult { +func (e ExecError) Result() ExecResult { return e.procresult }