simplified way of stripping the stack from DefaultStackError when we want to hide it
merge