summaryrefslogtreecommitdiff
path: root/src/main/kotlin/except/UnknownVersionException.kt
blob: 5023bc50aac44f554aa61d5039804edb645ca6a0 (plain)
1
2
3
4
5
6
7
8
9
package except

/**
 * This exception is thrown when the remote server sent either an "unknown" version back during the version negotiation
 * procedure or a version unknown to this client implementation.
 *
 * @param version The version sent by the server.
 */
class UnknownVersionException(val version: String) : Exception("Unknown version: $version")