HF RL Explorer

The merr error handling system should support an optional error context: a signed 16-bit integer that can be…

The merr error handling system should support an optional error context: a signed 16-bit integer that can be…: a task in LegoFlow-SWE (Harbor dataset). Design a way to store and retrieve this context value from an merr t error, and provide a function merr ctx() that returns the stored context…

The task

Design a way to store and retrieve this context value from an `merr_t` error, and provide a function `merr_ctx()` that returns the stored context value as a signed 16-bit integer (range -32768 to 32767).

Part of Lego-X/LegoFlow-SWE.