MalformedCommandException

class MalformedCommandException(val got: Int, val expected: Int) : Exception

Exception thrown when a command is malformed due to incorrect number of arguments.

Constructors

Link copied to clipboard
constructor(got: Int, expected: Int)

Properties

Link copied to clipboard
open val cause: Throwable?
Link copied to clipboard

The number of arguments expected.

Link copied to clipboard
val got: Int

The number of arguments received.

Link copied to clipboard
Link copied to clipboard
open val message: String?
Link copied to clipboard
Link copied to clipboard