Exemplo n.º 1
0
 // Error Range
 // Convert the different error sub-system codes to a single integer range
 internal static int ERGeneral(Blue.Driver.ErrorCodes e)
 {
     return(((int)e) + 1000);
 }
Exemplo n.º 2
0
 // Have typesafe ctors for each error-subsystem
 internal ErrorException(Blue.Driver.ErrorCodes e, FileRange location, string stMessage)
     : this(ERGeneral(e), location, stMessage)
 {
 }