diff --git a/errors.json b/errors.json index 3c3d953125..082897b010 100644 --- a/errors.json +++ b/errors.json @@ -38,5 +38,7 @@ "36": "When using custom hooks for context, all hooks need to be provided: .\\nHook was either not provided or not a function.", "37": "Warning: Middleware for RTK-Query API at reducerPath \"\" has not been added to the store.\n You must add the middleware for RTK-Query to function correctly!", "38": "Cannot refetch a query that has not been started yet.", - "39": "called \\`injectEndpoints\\` to override already-existing endpointName without specifying \\`overrideExisting: true\\`" + "39": "called \\`injectEndpoints\\` to override already-existing endpointName without specifying \\`overrideExisting: true\\`", + "40": "maxPages for endpoint '' must be a number greater than 0", + "41": "getPreviousPageParam for endpoint '' must be a function if maxPages is used" } \ No newline at end of file