LogicError

fun LogicError(    message: String? = null,     cause: Throwable? = null,     context: ExecutionContext,     type: <ERROR CLASS>,     extraData: <ERROR CLASS>? = null)
fun LogicError(    cause: Throwable?,     context: ExecutionContext,     type: <ERROR CLASS>,     extraData: <ERROR CLASS>? = null)


fun LogicError(    message: String? = null,     cause: Throwable? = null,     contexts: Array<ExecutionContext>,     type: <ERROR CLASS>,     extraData: <ERROR CLASS>? = null)

Parameters

message

the detail message string.

cause

the cause of this exception.

contexts

a stack of contexts localising the exception

type

The error type structure

extraData

The possible extra data to be carried with the error