HF RL Explorer

Feature Request: Customizable error messages in usePersistedOperations

Feature Request: Customizable error messages in usePersistedOperations: a task in LegoFlow-SWE (Harbor dataset). Each error can be configured in one of three ways (polymorphic): - A string – used directly as the error message. - An object containing message and optional extensions (GraphQL error…

The task

Each error can be configured in one of three ways (polymorphic): - A **string** – used directly as the error message. - An **object** containing `message` and optional `extensions` (GraphQL error options) – allows adding extensions such as `{ http: { status: 404 } }` or custom error codes. - A **factory function** –…

Part of Lego-X/LegoFlow-SWE.