From 149afc8c9b3bd9b4467fc686d69d83d1781b8f67 Mon Sep 17 00:00:00 2001 From: Ben Johnson Date: Sun, 16 Feb 2014 12:18:44 -0700 Subject: Rename errors. --- meta.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'meta.go') 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 } -- cgit v1.2.3