feat(batch5): implement jetstream error constructors group07

This commit is contained in:
Joseph Doherty
2026-02-28 08:47:21 -05:00
parent aab2814201
commit a587e8e347
4 changed files with 195 additions and 0 deletions

View File

@@ -103,6 +103,22 @@ simple_methods=(
"NewJSMirrorMaxMessageSizeTooBigError|MirrorMaxMessageSizeTooBig"
"NewJSMirrorMultipleFiltersNotAllowedError|MirrorMultipleFiltersNotAllowed"
"NewJSMirrorOverlappingSubjectFiltersError|MirrorOverlappingSubjectFilters"
"NewJSMirrorWithAtomicPublishError|MirrorWithAtomicPublish"
"NewJSMirrorWithCountersError|MirrorWithCounters"
"NewJSMirrorWithFirstSeqError|MirrorWithFirstSeq"
"NewJSMirrorWithMsgSchedulesError|MirrorWithMsgSchedules"
"NewJSMirrorWithSourcesError|MirrorWithSources"
"NewJSMirrorWithStartSeqAndTimeError|MirrorWithStartSeqAndTime"
"NewJSMirrorWithSubjectFiltersError|MirrorWithSubjectFilters"
"NewJSMirrorWithSubjectsError|MirrorWithSubjects"
"NewJSNoAccountError|NoAccount"
"NewJSNoLimitsError|NoLimits"
"NewJSNoMessageFoundError|NoMessageFound"
"NewJSNotEmptyRequestError|NotEmptyRequest"
"NewJSNotEnabledError|NotEnabled"
"NewJSNotEnabledForAccountError|NotEnabledForAccount"
"NewJSReplicasCountCannotBeNegativeError|ReplicasCountCannotBeNegative"
"NewJSRequiredApiLevelError|RequiredApiLevel"
)
templated_methods=(
@@ -125,6 +141,8 @@ templated_methods=(
"NewJSMirrorConsumerSetupFailedError|Exception|err|MirrorConsumerSetupFailed|{err}"
"NewJSMirrorInvalidSubjectFilterError|Exception|err|MirrorInvalidSubjectFilter|{err}"
"NewJSMirrorInvalidTransformDestinationError|Exception|err|MirrorInvalidTransformDestination|{err}"
"NewJSPedanticError|Exception|err|Pedantic|{err}"
"NewJSRaftGeneralError|Exception|err|RaftGeneralErr|{err}"
)
{