According to https://github.com/ARMmbed/mbed-os/pull/3301#issuecomment-262179957 Need to be done >I see that for nRF5 ports we will need to add returning error codes - it's not handled already