Remove obsolete system service error type

This commit is contained in:
Denis Arh
2020-05-26 14:59:14 +02:00
parent e3a81888b6
commit 566405b648
-25
View File
@@ -1,25 +0,0 @@
package service
import (
"github.com/pkg/errors"
)
type (
serviceError string
)
const (
ErrNoReminderAssignPermissions serviceError = "NoReminderAssignPermissions"
)
func (e serviceError) Error() string {
return e.String()
}
func (e serviceError) String() string {
return "system.service." + string(e)
}
func (e serviceError) withStack() error {
return errors.WithStack(e)
}