mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
request limit exceeded added to user errors
This commit is contained in:
@@ -217,6 +217,10 @@ var (
|
||||
code: http.StatusInternalServerError,
|
||||
error: errors.New("Syslog Unavailable"),
|
||||
}
|
||||
ErrRequestLimitExceeded = ferr{
|
||||
code: http.StatusTooManyRequests,
|
||||
error: errors.New("Request capacity for user exceeded"),
|
||||
}
|
||||
)
|
||||
|
||||
// APIError any error that implements this interface will return an API response
|
||||
|
||||
Reference in New Issue
Block a user