Use codes names as errors codes, because numeric error codes are useless

\cc @an9eldust @ruslankerimov @isquariel @ZooBestik @narqo @Flackus