From 6bc01e953431558db03edff65d031a48fe72bc99 Mon Sep 17 00:00:00 2001 From: sergeych Date: Mon, 13 Mar 2023 15:28:49 +0100 Subject: [PATCH] simpler annotations --- src/commonMain/kotlin/net.sergeych.bipack/annotations.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commonMain/kotlin/net.sergeych.bipack/annotations.kt b/src/commonMain/kotlin/net.sergeych.bipack/annotations.kt index 9dd1ea0..5eabdc3 100644 --- a/src/commonMain/kotlin/net.sergeych.bipack/annotations.kt +++ b/src/commonMain/kotlin/net.sergeych.bipack/annotations.kt @@ -24,14 +24,14 @@ annotation class ExtendableFormat * match the expected name, the [InvalidFrameException] will be thrown. */ @SerialInfo -@Target(AnnotationTarget.CLASS) annotation class Framed @SerialInfo -@Target(AnnotationTarget.CLASS) annotation class CrcProtected open class InvalidFrameException(reason: String) : Exception(reason) class InvalidFrameHeaderException(reason: String = "Frame header does not match") : InvalidFrameException(reason) class InvalidFrameCRCException : InvalidFrameException("Checksum CRC32 failed") + +