Skip to content

RoleMapResult

RoleMapResult = { assignment: RoleAssignment; ok: true; } | { conflict: RoleMapConflict; ok: false; }

Defined in: console-sdk/src/roleMap.ts:45

The result of tryRoleMap: the assignment, or the conflict that blocks it β€” a value, never a throw, so a reactive β€œcan I start?” UI can disable its Start button and show the reason without a try/catch.