What an envelope says failed: its error string, or for a *.error envelope its message,
its reason or its type. kehto's runtime answers a failed request with a *.result carrying
error, so this covers its replies; kehto's own devtools read envelopes the same way.
Parameters
message: unknown
Any message an applet sent or received.
Returns string|undefined
The failure, or undefined when the message reports none.
What an envelope says failed: its
errorstring, or for a*.errorenvelope itsmessage, itsreasonor its type. kehto's runtime answers a failed request with a*.resultcarryingerror, so this covers its replies; kehto's own devtools read envelopes the same way.