コード例 #1
0
 /// <summary>
 /// Initializes a new instance of the Exception class with a specified custom error code
 /// </summary>
 /// <param name="message">The message that describes the error.</param>
 public AwroNoreException(AwroNoreErrorCode errorCode) : base()
 {
     ErrorCode = errorCode;
 }
コード例 #2
0
 /// <summary>
 /// Initializes a new instance of the Exception class with a specified error message & custom error code
 /// </summary>
 /// <param name="message">The message that describes the error.</param>
 public AwroNoreException(AwroNoreErrorCode errorCode, string message) : base(message)
 {
     ErrorCode = errorCode;
 }