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.
error - The error that has occurred.
error