catch
Inline function to safely execute a device identifier retrieval function and wrap any exceptions in a DeviceIdentifierException.
Return
The result of the block execution
Parameters
block
The suspend function to execute safely
Throws
if an exception occurs during execution