php-shunting-yard
php-shunting-yard copied to clipboard
Handling errors
Hi there: I'm trying to catch error to prevent php to stop if there's no parseable string, but I can't figure out how to do it ... I've tried many options: catch (RR\Shunt\Exception\RuntimeError | RR\Shunt\Exception\ParseError $e) catch (ParseError $e) catch (Exception $e) ... but no luck ...
Any idea ? ;-)