ExecutionException

constructor(errorCode: String, message: String, cause: Throwable? = null, extras: Bundle? = Bundle())

Parameters

errorCode

an easily-recognizable code for a specific types of errors, will be accessible on the other part of the IPC communication (in client apps) by CommandExecutionException.errorCode.

extras

additional data about this particular exception, it will be accessible on the other part of the IPC communication (in client apps) by CommandExecutionException.extras.