fromCode

Finds a LeaveReason that corresponds to the given code.

Return

the matching LeaveReason, or UNKNOWN if no match is found

Parameters

code

the integer code to look up