/Aq.Interop.ErrorCodes

OS-specific error codes for .NET

Primary LanguageC#ISC LicenseISC

Aq.Interop.ErrorCodes

OS-specific error codes for .NET

using static Aq.Interop.PlatformErrors

class Program {
  void Main() {
    int errno = ...;
    if (ENOENT == errno) {
      throw new Exception("Not Exists")
    }
  }
}