public static StatusCodeNames fromStatusCode(final int statusCode) {
            for (StatusCodeNames code : values()) {
                if (code.getStatusCode() == statusCode) {
                    return code;
                }
            }
            throw new IllegalArgumentException("Enum not found in StatusCodeNames");
        }
Returns the status code name for a status code returned by a status message.

@param statusCode StatusCode received by the status message
@return The specific status code name
mesh/src/main/java/no/nordicsemi/android/mesh/transport/ConfigStatusMessage.java