/// <summary> /// Returns the string of the code. /// </summary> /// <returns> the code. </returns> public virtual string code() { if (_te != null) { return(_te.code()); } return(_code); }
/// <summary> /// Constructor for Dynamic Error. /// </summary> /// <param name="te"> /// is the error type. </param> public DynamicError(TypeError te) : base(te.reason()) { _te = te; _code = te.code(); }