Target filter
Search Kotlin docs
  • Back
  • Tealium Prism Kotlin SDK Reference
core/com.tealium.prism.core.api.command/CommandException/Companion

Companion

object Companion

Functions

arrayLengthMismatch
Link copied to clipboard
@JvmStatic
fun arrayLengthMismatch(keyA: String, keyB: String): CommandException

Two related array parameters had different lengths and could not be paired.

commandNotFound
Link copied to clipboard
@JvmStatic
fun commandNotFound(commandName: String): CommandException

No command was registered under the given name.

emptyArray
Link copied to clipboard
@JvmStatic
fun emptyArray(key: String): CommandException

An array parameter was present but contained no elements.

emptyParameter
Link copied to clipboard
@JvmStatic
fun emptyParameter(key: String): CommandException

A parameter was present but its value was empty.

invalidParameterType
Link copied to clipboard
@JvmStatic
fun invalidParameterType(key: String, expectedType: String): CommandException

A parameter was present but did not match the expected type.

missingParameter
Link copied to clipboard
@JvmStatic
fun missingParameter(key: String): CommandException

A required parameter was absent from the payload.

noValidParameters
Link copied to clipboard
@JvmStatic
fun noValidParameters(): CommandException

None of the payload's parameters were usable by the command.

unknown
Link copied to clipboard
@JvmStatic
fun unknown(cause: Throwable): CommandException

An unexpected throwable was caught during command execution.

Generated by Dokka
(c) Tealium 2026