Asserts that a connection is active, throwing a DeviceError with code "not-connected" if it is not.
"not-connected"
Asserts that a connection is active, throwing a DeviceError with code
"not-connected"if it is not.