PSR4/Composer migration

These should be `\RuntimeException`. We dont need `ErrorException` at all imo