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())

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val bindingErrors: List<BindingError>
Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard
Link copied to clipboard
override val errorCode: String
Link copied to clipboard
open override val errorMsg: String
Link copied to clipboard
open override val message: String
Link copied to clipboard
Link copied to clipboard
open val succeeded: Boolean

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