GH-107 has a (hopefully exhaustive) review of all validation failure options for the channel key validation. This should probably not be specific to the `+k` specification, as IRCds probably implement similar validation for other channel modes.