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

# =============================================================================
# Consumers
# =============================================================================
Validate inputs and connect to Trello API.
dataset/ETHPy150Open tmetsch/python-dtrace/dtrace_ctypes/consumer.py/get_error_msg--crossover with--dataset/ETHPy150Open StackStorm/st2contrib/packs/trello/sensors/list_actions_sensor.py/TrelloList.__init__