Expand description
Shared utility functions.
Functionsยง
- extract_
json - Pull a JSON object out of a reply that may be fenced or prefaced.
- timestamp_
id - Generate a hex-encoded nanosecond timestamp ID with a prefix.
- truncate
- Enough of a long string to recognise, without pasting the whole thing into an error message.