This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package com.infendro.cli.exception.run
|
||||
|
||||
class ArgumentCountException(
|
||||
val argument: String,
|
||||
val min: Int,
|
||||
val max: Int,
|
||||
) : Exception()
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.infendro.cli.exception.run
|
||||
|
||||
class InvalidArgumentException(
|
||||
val argument: String,
|
||||
) : Exception()
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.infendro.cli.exception.run
|
||||
|
||||
class UnknownArgumentException(
|
||||
val argument: String,
|
||||
) : Exception()
|
||||
@@ -0,0 +1,5 @@
|
||||
package com.infendro.cli.exception.run
|
||||
|
||||
class UnknownCommandException(
|
||||
val command: String,
|
||||
) : Exception()
|
||||
Reference in New Issue
Block a user