logging / net.corda.common.logging.errorReporting / org.slf4j.Logger / report

report

fun Logger.report(error: ErrorCode<*>): Unit

Report errors that have occurred.

Doing this allows the error reporting framework to find the corresponding resources for the error and pick the correct locale.

Parameters

error - The error that has occurred.