Path: redb/redb.Templates/templates/redb-identity-app/RedbIdentityApp.Web/Components/ModuleError.razor Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Templates/templates/redb-identity-app/RedbIdentityApp.Web/Components/ModuleError.razor ---- @inject NavigationManager Navigation @* What a failed module call means for the user. *@ @switch (Error) { case null: break; case SessionEndedException:
Your session has ended. Sign in again
break; case IdentityUnavailableException:The sign-in service is not available right now. Try again in a few seconds.
break; case ModuleException { Forbidden: true } forbidden:Not allowed: @forbidden.Message
break; default:@Error.Message
break; } @code { [Parameter] public Exception? Error { get; set; } }