HF RL Explorer

Feature Request: Allow custom error types to be converted to FieldError with structured metadata

Feature Request: Allow custom error types to be converted to FieldError with structured metadata: a task in LegoFlow-SWE (Harbor dataset). Problem: Currently, Juniper’s resolvers can only return FieldResult<T (i.e., Result<T, FieldError ) for errors that carry structured metadata. If a resolver…

The task

**Problem:** Currently, Juniper’s resolvers can only return `FieldResult<T>` (i.e., `Result<T, FieldError>`) for errors that carry structured metadata. If a resolver returns a custom error type (e.g., `Result<T, CustomError>`), the error is either forced through a `Display`/`String` conversion or otherwise fails to…

Part of Lego-X/LegoFlow-SWE.