summaryrefslogtreecommitdiff
path: root/errors.go
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2025-10-16 13:32:28 -0500
committerJeff Carr <[email protected]>2025-10-16 13:32:28 -0500
commit4ef067cba11c91a2c8b4ffaf1247ad420545e864 (patch)
tree8039b695d22bf26175badfaffef36c0659f7f01e /errors.go
parentfab3ce3d8b31ca17a392c34e5fee591ce5ad443f (diff)
not sure about this panic
Diffstat (limited to 'errors.go')
-rw-r--r--errors.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/errors.go b/errors.go
index 7f318af..154f3af 100644
--- a/errors.go
+++ b/errors.go
@@ -7,6 +7,8 @@ import (
var NotInitialized error = errors.New("your application config not initialized")
+var VersionMismatch error = errors.New("your PB version does not match")
+
// Finally, declare a package-level variable of your new type.
// This is the "sentinel" error that users will compare against.
var ErrNotInitialized = NotInitializedError{}