public CenturyError(TipoError codigo, string mensaje, string destino, IEnumerable <CenturyError> detalles = null, CenturyError innerError = null) { Codigo = codigo; Mensaje = mensaje; Destino = destino; Detalles = detalles; InnerError = innerError; }
public CenturyException(CenturyError centuryError, Exception innerException) : base(centuryError.Mensaje, innerException) { CenturyError = centuryError; }
public CenturyException(CenturyError centuryError) : base(centuryError.Mensaje) { CenturyError = centuryError; }