diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-06-20 15:20:18 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-06-20 15:20:18 +0200 |
| commit | 2252135fadb8c579ad27345e3203be755130e3cd (patch) | |
| tree | ed5a530e85b43736fc0bc28c927cfa8488f9199b /exports | |
| parent | 7af07c596166bf93b79a9d0816b1950dde360fb9 (diff) | |
Refactor: Errors to have one custom type that is to be wrapped
- For this an `internal/types` package is created with a custom error type
- This custom error type can give back the cause and traceback of an error
Diffstat (limited to 'exports')
| -rw-r--r-- | exports/exports.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/exports/exports.go b/exports/exports.go index 2139254..79b3606 100644 --- a/exports/exports.go +++ b/exports/exports.go @@ -17,6 +17,7 @@ import ( "errors" "fmt" "unsafe" + "github.com/jwijenbergh/eduvpn-common" ) |
