aboutsummaryrefslogtreecommitdiff
path: root/meta.go
diff options
context:
space:
mode:
Diffstat (limited to 'meta.go')
-rw-r--r--meta.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta.go b/meta.go
index ba62590..643d339 100644
--- a/meta.go
+++ b/meta.go
@@ -16,9 +16,9 @@ type meta struct {
// validate checks the marker bytes and version of the meta page to ensure it matches this binary.
func (m *meta) validate() error {
if m.magic != magic {
- return InvalidError
+ return ErrInvalid
} else if m.version != version {
- return VersionMismatchError
+ return ErrVersionMismatch
}
return nil
}