AspNet5.Controllers.TestExceptionController.GetWithCustomException C# (CSharp) Method

GetWithCustomException() private method

private GetWithCustomException ( ) : IEnumerable
return IEnumerable
        public IEnumerable<string> GetWithCustomException()
        {
            _logger.LogInformation("Executing Http Get before exception");
            throw new CustomException("Yes a great exception");
        }