atheken, 11 months ago I quickly skimmed this, and it looks kinda overwrought to me. This is the format I’ve been using: <span style="color:#323232;">{ </span><span style="color:#323232;">success: bool </span><span style="color:#323232;">error_code: number, </span><span style="color:#323232;">message: “human-centric error message”, </span><span style="color:#323232;">context: { optional, user-defined details } </span><span style="color:#323232;">} </span>
I quickly skimmed this, and it looks kinda overwrought to me.
This is the format I’ve been using:
<span style="color:#323232;">{ </span><span style="color:#323232;">success: bool </span><span style="color:#323232;">error_code: number, </span><span style="color:#323232;">message: “human-centric error message”, </span><span style="color:#323232;">context: { optional, user-defined details } </span><span style="color:#323232;">} </span>