aboutsummaryrefslogtreecommitdiff
path: root/BackEnd/Timeline/Services/Exceptions/ExceptionMessageHelper.cs
blob: be3c42a40ee53179560f6473931fac27266e5904 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
namespace Timeline.Services.Exceptions
{
    public static class ExceptionMessageHelper
    {
        public static string AppendAdditionalMessage(this string origin, string? message)
        {
            if (message == null)
                return origin;
            else
                return origin + " " + message;
        }
    }
}