feat: Implement rate limiting, request timeouts, and security headers for improved server protection
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
* 502 source_invalid the catalog answered, but its folders or tables are not recognised
|
||||
* 503 not_ready /api/ready only: the server is still loading the catalog or its index
|
||||
* 504 source_timeout the university catalog answered too slowly
|
||||
* 504 timeout the server did not answer within its time limit
|
||||
* 500 internal a fault of the server itself
|
||||
*/
|
||||
export class ApiError extends Error {
|
||||
|
||||
Reference in New Issue
Block a user