thanks you both, this seems working ``` infix f...
# getting-started
e
thanks you both, this seems working
Copy code
infix fun (() -> Unit).shallThrow(exClass: Class<out Throwable>) {
        try {
            this()
        } catch (e: Throwable) {
            if (e is GLException) return
            else throw Error()
        }
    }