move errors to new package to break import cycle

This commit is contained in:
Cubicroot 2021-06-20 17:39:10 +02:00
parent 5f5d941bc4
commit dafc815be5
8 changed files with 195 additions and 20 deletions

View file

@ -0,0 +1,6 @@
package pberrors
import "errors"
// ErrorMessageNotFound indicates that a message does not exist
var ErrorMessageNotFound = errors.New("message not found")