defaultExceptionStatusCode

fun defaultExceptionStatusCode(cause: Throwable): <ERROR CLASS>?

Map cause to the corresponding status code or null if no default exception mapping for this cause type