Allow to set customclass on manually added errors