diff --git a/system/service/error.go b/system/service/error.go deleted file mode 100644 index f06862499..000000000 --- a/system/service/error.go +++ /dev/null @@ -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) -}