doc comment for the exported errors object