Skip to content

Commit

Permalink
Tag Asserts 4 (microsoft#22536)
Browse files Browse the repository at this point in the history
## Description

4th tagging of asserts for 2.3
  • Loading branch information
CraigMacomber authored Sep 16, 2024
1 parent 21288ba commit f130b4f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/dds/tree/src/shared-tree/checkoutFlexTreeView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,6 @@ export function getCheckoutFlexTreeView(
context: FlexTreeHydratedContext,
): CheckoutFlexTreeView {
const view = contextToTreeViewMap.get(context);
assert(view !== undefined, "Expected view to be registered for context");
assert(view !== undefined, 0xa41 /* Expected view to be registered for context */);
return view;
}
Original file line number Diff line number Diff line change
Expand Up @@ -1627,5 +1627,6 @@ export const shortCodeMap = {
"0xa3d": "Partial batch should have exactly one message",
"0xa3e": "Empty batch is always considered a full batch",
"0xa3f": "segments cannot be undefined",
"0xa40": "must have obliterate info"
"0xa40": "must have obliterate info",
"0xa41": "Expected view to be registered for context"
};

0 comments on commit f130b4f

Please sign in to comment.