def errprt(op, lenout, inlist):
lenout = ctypes.c_int(lenout)<EOL>op = stypes.stringToCharP(op)<EOL>inlist = ctypes.create_string_buffer(str.encode(inlist), lenout.value)<EOL>inlistptr = ctypes.c_char_p(ctypes.addressof(inlist))<EOL>libspice.errdev_c(op, lenout, inlistptr)<EOL>return stypes.toPythonString(inlistptr)<EOL>
Retrieve or set the list of error message items to be output when an
error is detected.

http://naif.jpl.nasa.gov/pub/naif/toolkit_docs/C/cspice/errprt_c.html

:param op: The operation, "GET" or "SET".
:type op: str
:param lenout: Length of list for output.
:type lenout: int
:param inlist: Specification of error messages to be output.
:type inlist: list of str.
:return: A list of error message items.
:rtype: list of str.