onSuccess and onFailure simulation hooks

Hi Gatling team,

Is there any way to hook into simulation success/failures due to assertions and execute commands based on failed assertions?

for example:

setup(…)

.assertions(
  forAll.failedRequests.percent.lte(0)
)
.onSuccess(
  println("success!")
)
.onFailure(
  //print assertions that failed
)

Thanks!