python: Document Error exception