fitSharp.Slim.Service.Interpreter.FormatException C# (CSharp) Method

FormatException() private static method

private static FormatException ( System e ) : string
e System
return string
        private static string FormatException(System.Exception e)
        {
            // this format is hardcoded in case there is an exception in the general formatting code
            var exception = string.Format(ComposeException.ExceptionResult, e);
            var step = string.Format("[000002:000005:error:{0:000000}:{1}:]", exception.Length, exception);
            return string.Format("[000001:{0:000000}:{1}:]", step.Length, step);
        }