public DetailedExceptionResponse(Exception exception) : base(exception) { Type = exception.GetType().FullName; StackTrace = exception.StackTrace; if (exception.InnerException != null) { InnerException = new ExceptionResponse(exception.InnerException); } }
public DetailedExceptionResponse(Exception exception) : base(exception) { Type = exception.GetType().FullName; StackTrace = exception.StackTrace; if (exception.InnerException != null) { InnerException = new ExceptionResponse(exception.InnerException); } }