yes, should be:

```php
<?php
try {
// do something
} catch (\GmagickException $e) {
    throw new RuntimeException('Failed to animate layers', $e->getCode(), $e);
}
```