add error nro to exceptions and .what() interface