aboutsummaryrefslogtreecommitdiff
path: root/format/pack/ingest/errors.go
diff options
context:
space:
mode:
Diffstat (limited to 'format/pack/ingest/errors.go')
-rw-r--r--format/pack/ingest/errors.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/format/pack/ingest/errors.go b/format/pack/ingest/errors.go
index 1fc321e7..cd65d3cf 100644
--- a/format/pack/ingest/errors.go
+++ b/format/pack/ingest/errors.go
@@ -1,6 +1,9 @@
package ingest
-import "fmt"
+import (
+ "errors"
+ "fmt"
+)
// ErrInvalidPackHeader reports an invalid or unsupported pack header.
type ErrInvalidPackHeader struct {
@@ -61,3 +64,5 @@ type ErrDestinationWrite struct {
func (err *ErrDestinationWrite) Error() string {
return fmt.Sprintf("format/pack/ingest: destination write failure: %s", err.Op)
}
+
+var errExternalThinBase = errors.New("format/pack/ingest: external thin base required")