Std

Mainly a port of Rust's std.
git clone https://git.philomathiclife.com/repos/Std
Log | Files | Refs | README

Error.cs (1002B)


      1 using Std.Convert;
      2 using Std.Maybe;
      3 using System.Diagnostics;
      4 #pragma warning disable CA1716 // Identifiers should not match keywords
      5 #region Namespaces
      6 namespace Std.Error {
      7     #region Types
      8     public interface IError: IInto<string> {
      9 
     10         #region Type-level Constructors
     11         #endregion
     12 
     13         #region Instance Constructors
     14         #endregion
     15 
     16         #region Type-level Fields
     17         #endregion
     18 
     19         #region Instance Fields
     20         #endregion
     21 
     22         #region Type-level Properties
     23         #endregion
     24 
     25         #region Instance Properties
     26         #endregion
     27 
     28         #region Type-level Functions
     29         #endregion
     30 
     31         #region Instance Functions
     32         public virtual Maybe<IError> Source() => Maybe<IError>.None();
     33         public virtual Maybe<StackTrace> StackTrace() => Maybe<StackTrace>.None();
     34         #endregion
     35 
     36         #region Operators
     37         #endregion
     38 
     39         #region Types
     40         #endregion
     41     }
     42     #endregion
     43 
     44     #region Namespaces
     45     #endregion
     46 }
     47 #endregion