errorCode

abstract fun errorCode(code: Int): ErrorCode

Answer the ErrorCode for the given ErrorCode.code.

Return

The associated ErrorCode or InvalidErrorCode if the provided code is not valid.

Parameters

code

The ErrorCode.code to lookup.