def get_error_msg(handle):
    txt = LIBRARY.dtrace_errmsg(handle, LIBRARY.dtrace_errno(handle))
    return c_char_p(txt).value

# =============================================================================
# Consumers
# =============================================================================
Get the latest and greatest DTrace error.
dataset/ETHPy150Open tmetsch/python-dtrace/dtrace_ctypes/consumer.py/get_error_msg