cfa8d762ef
The returned value is an UPNPResult, not an Error. Both `UPNP.UPNP_RESULT_SUCCESS` and `OK` are equal to 0, so it will behave the same, but it's not identical from a static typing perspective.