added rethrown property to rethrown errors