The closure sandbox will do a catch all on exceptions and rethrow after
re-setting the sudo flag.
Example use:
$location = $repository->sudo(
function ( Repository $repo ) use ( $locationId )
{
return $repo->getLocationService()->loadLocation( $locationId )
}
);