aboutsummaryrefslogtreecommitdiff
path: root/types/errors.go
blob: 1e5a56233f34c3917ab505befe69050710c34f5c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
package types

import "dove/enums"

type ServiceError struct {
	Kind    enums.ErrorKind
	Message string
}

func (self *ServiceError) Error() string {
	return self.Message
}