mirror of
https://github.com/pushbits/server.git
synced 2025-08-04 00:58:54 +02:00
move errors to new package to break import cycle
This commit is contained in:
parent
5f5d941bc4
commit
dafc815be5
8 changed files with 195 additions and 20 deletions
6
internal/pberrors/errors.go
Normal file
6
internal/pberrors/errors.go
Normal file
|
@ -0,0 +1,6 @@
|
|||
package pberrors
|
||||
|
||||
import "errors"
|
||||
|
||||
// ErrorMessageNotFound indicates that a message does not exist
|
||||
var ErrorMessageNotFound = errors.New("message not found")
|
Loading…
Add table
Add a link
Reference in a new issue