tipsy
@FunctionalInterface public interface ErrorHandler { void handle(Request request, Response response); }
typealias ErrorHandler = (request : Request, response : Response) -> Unit
error(500, (req, res) -> { // return type expected });
voddan
kotlin.Unit
null
hughg
Nothing
Nothing?
A modern programming language that makes developers happier.