aboutsummaryrefslogtreecommitdiffhomepage
path: root/ldd/error.go
diff options
context:
space:
mode:
Diffstat (limited to 'ldd/error.go')
-rw-r--r--ldd/error.go11
1 files changed, 11 insertions, 0 deletions
diff --git a/ldd/error.go b/ldd/error.go
new file mode 100644
index 00000000..51aef948
--- /dev/null
+++ b/ldd/error.go
@@ -0,0 +1,11 @@
+package ldd
+
+import "fmt"
+
+type EntryUnexpectedSegmentsError struct {
+ Entry string
+}
+
+func (e *EntryUnexpectedSegmentsError) Error() string {
+ return fmt.Sprintf("unexpected segments in entry %q", e.Entry)
+}