Returns the ReasonCode corresponding to the given value.
if value does not match any known reason code.