actionUnsupported

inline fun actionUnsupported(cause: Throwable? = null, block: () -> String): Nothing

抛出 UnsupportedActionException.

e.g.

actionUnsupported(cause) { "Send message" }