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") + +