1"""zmq error functions"""
2
3# Copyright (C) PyZMQ Developers
4# Distributed under the terms of the Modified BSD License.
5
6from ._cffi import C, ffi
7
8def strerror(errno):
9    return ffi.string(C.zmq_strerror(errno))
10
11zmq_errno = C.zmq_errno
12
13__all__ = ['strerror', 'zmq_errno']
14