error

open fun error(throwableSupplier: Supplier<Throwable>, messageSupplier: Supplier<String>)(source)

Both can supply a null.