private FightResults(FightResultErrorType errorType, FightResultType result, string errorMessage) : this() { ErrorType = errorType; Result = result; ErrorMessage = errorMessage; IsError = true; }
public FightResultError(FightResultErrorType errorType, string message) { ErrorType = errorType; Message = message; }
public FightResultError(FightResultErrorType errorType, string stackTrace, string message) { ErrorType = errorType; StackTrace = stackTrace; Message = message; }
public static FightResults Error(FightResultErrorType errorType, FightResultType result, string errorMessage) { return(new FightResults(errorType, result, errorMessage)); }