summaryrefslogtreecommitdiff
path: root/shrine/enums/error.go
blob: dcab3654c3a6cd785c7ba91bab0b967e7f3af0a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
package enums

type ErrorKind string

const (
	BadRequest     ErrorKind = "bad_request"
	Unauthorized   ErrorKind = "unauthorized"
	Forbidden      ErrorKind = "forbidden"
	NotFound       ErrorKind = "not_found"
	Conflict       ErrorKind = "conflict"
	Unprocessable  ErrorKind = "unprocessable"
	TooManyRequest ErrorKind = "too_many_requests"
	Internal       ErrorKind = "internal"
)