Skip to content

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

Documents matching: server v3.0.0a1.post1client v3.0.0-alpha.2