Document Error type