KbException

constructor(cause: Throwable, location: KbSourceLocation? = null, errorCode: String = "KB-0000")(source)

Parameters

cause

the underlying exception that describes the error.

location

the template position the failure is attributable to, or null when none could be determined.

errorCode

the stable conformance error code for this failure (e.g. "KB-2001"), or "KB-0000" for unclassified failures. This code is stable across kBars versions and is the portable identifier used in conformance fixture JSON files; human-readable messages are non-normative. See the kBars conformance error-code registry for the full list.