Allow naming NPEs
Currently, when using a null thrower -something!! - you get an empty message in the NPE. We suggest to implement the following syntax: something !: "blah blah". That way, we customize our error messages instead of the clumsy something ?: throw NullPointerException("blah blah") or implementing an infix function, something andIfNullThrow "blah blah"
1 post - 1 participant
Read full topic