ExpectationNotMet

fun ExpectationNotMet(message: MessageKeyProvider)(source)

Exception used when an expectation in the plugin is not being met

Parameters

message

the message to send to the user


fun ExpectationNotMet(key: MessageKeyProvider, vararg replacements: String)(source)

Exception used

Parameters

key

the message to send to the user

replacements

any placeholders to replace