There’s a notation called Portable Game Notation that chess engines use to communciate moves, positions, game data, etc. It has fields such as Game Date, Players, Location, and Termination; the latter records how the game ended.
One of its possible values is “Death.”