summaryrefslogtreecommitdiff
path: root/src/main/kotlin/InvalidPacketException.kt
blob: 421be0841f2bfee31440fc5a82f04d92bde96be8 (plain)
1
2
3
4
5
6
/**
 * The packet that is currently being read is not valid.
 *
 * @param reason The reason for which the packet is invalid.
 */
class InvalidPacketException(val reason: String) : Exception("Invalid packet: $reason")