add stashErr method