Parses a rendered failure message back into its structured envelope.
Parses a rendered failure message back into its structured envelope.
The parser keeps backward compatibility with the legacy format and therefore treats the first literal " | " after the optional message as the detail boundary. Canonical inputs should avoid embedding that exact separator token inside message/detail payloads.