NanoByte.Common.Tasks.DialogTaskHandler.Error C# (CSharp) Method

Error() public method

public Error ( Exception exception ) : void
exception System.Exception
return void
        public override void Error(Exception exception)
        {
            #region Sanity checks
            if (exception == null) throw new ArgumentNullException(nameof(exception));
            #endregion

            Log.Error(exception);
            Msg.Inform(_owner, exception.Message, MsgSeverity.Error);
        }
    }