diff options
Diffstat (limited to 'errors.go')
| -rw-r--r-- | errors.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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{} |
