add error handler

now with half dunder data