PyErr_NewExceptionWithDoc

Availability: >= 2.7

version(Python_2_7_Or_Later)
extern (C)
PyErr_NewExceptionWithDoc
(
const(char)* name
,
const(char)* doc
,,)

Meta