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 8.2, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8