Parse a formatB2Error() string back into its parts. Used by the audit layer to record error code/status/requestId from a tool's error response (the tool surface only carries the formatted text). Returns null if the text isn't a formatted B2 error.
Error text produced by formatB2Error.
Parsed error metadata, or null when the text is not a formatted B2 error.
Parse a formatB2Error() string back into its parts. Used by the audit layer to record error code/status/requestId from a tool's error response (the tool surface only carries the formatted text). Returns null if the text isn't a formatted B2 error.