CommandValidationException
class CommandValidationException(val command: Any, errorMsg: String = "Command validation failed.", cause: Throwable? = null, val bindingErrors: List<BindingError> = emptyList()) : WowException, ErrorInfo
Constructors
Link copied to clipboard
constructor(command: Any, errorMsg: String = "Command validation failed.", cause: Throwable? = null, bindingErrors: List<BindingError> = emptyList())
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun Throwable.toResult(commandMessage: CommandMessage<*>, contextName: String = commandMessage.contextName, processorName: String, stage: CommandStage = CommandStage.SENT, result: Map<String, Any> = emptyMap()): CommandResult
Link copied to clipboard
fun Throwable.toWowException(errorCode: String = this.getErrorCode(), errorMsg: String = this.getErrorMsg()): WowException