From 7c6e7042596147685d56b508ec794779429b38ee Mon Sep 17 00:00:00 2001 From: Ilia Ki Date: Fri, 19 Apr 2024 17:45:20 +0700 Subject: [PATCH] remove some cbor exceptions --- source/mir/ser/cbor.d | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/mir/ser/cbor.d b/source/mir/ser/cbor.d index f7288b2..2218f1c 100644 --- a/source/mir/ser/cbor.d +++ b/source/mir/ser/cbor.d @@ -13,10 +13,6 @@ version(D_Exceptions) { import mir.exception: toMutable; private static immutable bigIntConvException = new IonException("Overflow when converting BigInt"); private static immutable cborAnnotationException = new IonException("Cbor can store exactly one annotation."); - private static immutable stringTooLargeException = new IonException("Too large of a string for Cbor"); - private static immutable blobTooLargeException = new IonException("Too large of a blob for Cbor"); - private static immutable mapTooLargeException = new IonException("Too large of a map for Cbor"); - private static immutable arrayTooLargeException = new IonException("Too large of an array for Cbor"); } /++