RemoteError#

exception pytest_bluezenv.RemoteError(exc, traceback)[source]#

Exception raised in a VM host and passed through RPC.

Example

from pytest_bluezenv import RemoteError

try:
    host.call(foo)
except RemoteError as exc:
    print(exc.traceback)
    original_exception = exc.exc
exc#

original VM-host exception.

Type:

BaseException

traceback#

VM-host traceback.

Type:

str