Throw error in NewError constructor to get stack on IE