fromValue

fun fromValue(value: Int): ReasonCode

Returns the ReasonCode corresponding to the given value.

Throws

if value does not match any known reason code.