use/useObject404
Overview
Watches an object instance for 404 errors and converts them into user-friendly error objects with a list-view redirect.
Methods
- useObject404 - A composable function for handling a 404 error on an ObjectInstance, given the props and model config, and updating a passed error ref.
Source
client/lib/use/useObject404.js:1