WowException
open class WowException(val errorCode: String, errorMsg: String, cause: Throwable? = null, val bindingErrors: List<BindingError> = emptyList()) : RuntimeException, ErrorInfo
Inheritors
Constructors
Link copied to clipboard
constructor(errorCode: String, errorMsg: String, cause: Throwable? = null, bindingErrors: List<BindingError> = emptyList())
Functions
Link copied to clipboard
Link copied to clipboard
fun Throwable.toResult(waitCommandId: String, commandMessage: CommandMessage<*>, function: FunctionInfoData = COMMAND_GATEWAY_FUNCTION, id: String = generateGlobalId(), stage: CommandStage = CommandStage.SENT, result: Map<String, Any> = emptyMap(), signalTime: Long = System.currentTimeMillis()): CommandResult