mirror of
https://github.com/fnproject/fn.git
synced 2022-10-28 21:29:17 +03:00
fn: added http 429 in models Errors (#1236)
This commit is contained in:
@@ -146,6 +146,10 @@ var (
|
||||
code: http.StatusBadRequest,
|
||||
error: fmt.Errorf("Invalid annotation change, new key(s) exceed maximum permitted number of annotations keys (%d)", maxAnnotationsKeys),
|
||||
}
|
||||
ErrTooManyRequests = err{
|
||||
code: http.StatusTooManyRequests,
|
||||
error: errors.New("Too many requests submitted"),
|
||||
}
|
||||
|
||||
ErrAsyncUnsupported = err{
|
||||
code: http.StatusBadRequest,
|
||||
|
||||
Reference in New Issue
Block a user