pytest_bluezenv.RemoteError#

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

Exception raised on the VM side, passed through RPC. Properties: traceback is a traceback string and exc is the original exception instance raised on the remote side.

Example

from pytest_bluezenv import RemoteError

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