summaryrefslogtreecommitdiff
path: root/state.go
diff options
context:
space:
mode:
Diffstat (limited to 'state.go')
-rw-r--r--state.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/state.go b/state.go
index 552a5ea..a175e2f 100644
--- a/state.go
+++ b/state.go
@@ -336,10 +336,10 @@ func (state *VPNState) SetDisconnected() error {
return nil
}
-func (state *VPNState) GetErrorTraceback(err error) string {
+func GetErrorTraceback(err error) string {
return types.GetErrorTraceback(err)
}
-func (state *VPNState) GetErrorCause(err error) error {
+func GetErrorCause(err error) error {
return types.GetErrorCause(err)
}