logging / net.corda.common.logging.errorReporting / ErrorCode / code

code

abstract val code: CODES

The error code.

Error codes are used to indicate what sort of error occurred. A unique code should be returned for each possible error condition that could be reported within the defined namespace. The code should very briefly describe what has gone wrong, e.g. "failed-to-store" or "connection-unavailable".