diff options
Diffstat (limited to 'pkg/lookpath/error.go')
-rw-r--r-- | pkg/lookpath/error.go | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pkg/lookpath/error.go b/pkg/lookpath/error.go new file mode 100644 index 0000000..0e3a373 --- /dev/null +++ b/pkg/lookpath/error.go @@ -0,0 +1,10 @@ +package lookpath + +type Error struct { + Name string + Err error +} + +func (e *Error) Error() string { + return e.Err.Error() +} |