Allows to get errors type from an activemodel class, as a symbol, prior to the translation