erlang: delete error doc