The full error message field from the API response.
The reason field (may be undefined or empty).
The receipts field (array or undefined). Serialised to
text for pattern matching.
The decoded error name when a revert code is found, or the
original reason (or "") when no code can be decoded.
Return a human-readable error name decoded from the backend's error response.
Tries multiple strategies in priority order:
LogResultLogDatareceipt (logId + discriminant) from embedded receiptsPanicInstructionreasonand error:summary