The ErrorDescription class is accessible via the paste.script.entrypoints module.
See the source for more information.