From 59f3c0ed5ff6abda1f07f1baef3c2c3606a4944a Mon Sep 17 00:00:00 2001 From: Sydney Anne Erickson <sydney@elixxir.io> Date: Thu, 25 Feb 2021 16:14:54 -0800 Subject: [PATCH] Client changes for ClientVersion, but with clientError.go actually included --- globals/version_vars.go | 4 ++-- interfaces/clientError.go | 9 +++++++++ 2 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 interfaces/clientError.go diff --git a/globals/version_vars.go b/globals/version_vars.go index 603941fe8..b72794180 100644 --- a/globals/version_vars.go +++ b/globals/version_vars.go @@ -1,9 +1,9 @@ // Code generated by go generate; DO NOT EDIT. // This file was generated by robots at -// 2021-02-25 09:56:56.054196 -0800 PST m=+0.028922558 +// 2021-02-25 16:12:23.435048 -0800 PST m=+0.039302254 package globals -const GITVERSION = `09d47fb7 added a new logging print to single use` +const GITVERSION = `e5fb2a38 Client changes for ClientVersion` const SEMVER = "1.4.0" const DEPENDENCIES = `module gitlab.com/elixxir/client diff --git a/interfaces/clientError.go b/interfaces/clientError.go new file mode 100644 index 000000000..39c6706c7 --- /dev/null +++ b/interfaces/clientError.go @@ -0,0 +1,9 @@ +package interfaces + +type ClientError struct { + Source string + Message string + Trace string +} + +type ClientErrorReport func(source, message, trace string) -- GitLab