Method ThrowException<TException>(string?)
Instantiates and throws a typed exception.
IRouteDefinition ThrowException<TException>(string? message = null) where TException : Exception, new()
Instantiates and throws a typed exception.
IRouteDefinition ThrowException<TException>(string? message = null) where TException : Exception, new()