• To be used in the catch of a try...catch where useSpawn is called. Allows for easily getting a string out of either a SpawnState, an Error, or just a String.

    Parameters

    • state: any

    Returns string

    Error message Formatted as HTML for use in Notifications body