summaryrefslogtreecommitdiff
path: root/api/errors.go
blob: 7da482d9f68730737d1da23455e351a7222cd904 (plain)
1
2
3
4
5
6
7
8
package api

type Error struct {
	Error string `json:"error"`
}

var Unauthorized = Error{"not authorized"}
var Denied = Error{"permission denied"}