Adding error package to composer.json