1
0
Fork 0
mirror of https://github.com/pushbits/server.git synced 2025-05-28 00:06:41 +02:00
pushbits/internal/pberrors/errors.go
2023-07-15 23:25:34 +02:00

10 lines
423 B
Go

// Package pberrors defines errors specific to PushBits
package pberrors
import "errors"
// ErrMessageNotFound indicates that a message does not exist
var ErrMessageNotFound = errors.New("message not found")
// ErrConfigTLSFilesInconsistent indicates that either just a certfile or a keyfile was provided
var ErrConfigTLSFilesInconsistent = errors.New("TLS certfile and keyfile must either both be provided or omitted")