summaryrefslogtreecommitdiff
path: root/shrine/types/hypertext/errors.go
blob: b1668910ec32ba9d90b9ebb045bad7971fc6c9e2 (plain)
1
2
3
4
5
6
7
8
9
10
package hypertext

import "shrine/enums"

type ServiceError struct {
	Kind    enums.ErrorKind
	Message string
}

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