public static string GetErrorDescription ( IrbisException exception ) { return(string.IsNullOrEmpty(exception.Message) ? GetErrorDescription(exception.ErrorCode) : exception.Message); }
/// <summary> /// Initializes a new instance of the /// <see cref="IrbisCommadEventArgs" /> class. /// </summary> /// <param name="client">The client.</param> /// <param name="exception">The exception.</param> public IrbisCommadEventArgs ( ManagedClient64 client, IrbisException exception ) { Client = client; RetryCount = client.RetryCount; Exception = exception; }