Behaviour of the server in case of internal error.
When you are running tests you will use LOG_ONLY,
but please take care of using EXIT when runnning in production.
Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
Parameters:
name - the name of the enum constant to be returned.