Make Intl component classes throw exceptions on error

Code
<?php

// php >= 5.5
ini_set('intl.use_exceptions'true);

try {
    
$curr = new ResourceBundle('doError'__DIR__);
} catch (
IntlException $e) {
    echo 
$e->getMessage();
}
Result
resourcebundle_ctor: Cannot load libICU resource bundle
Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6