cause

open override val cause: Throwable? = null(source)

The cause of the exception. If you're throwing this exception after catching another, you should include the original exception here.