Moved throw errors to ErrorManager

This changes the behaviour a bit. Since it doesn't throw here anymore, execution will continue as if nothing happened. This goes for all changes to Error Manager. Maybe there's another way to stop execution here?