Web-Development-with-Blazor.../Chapter13/MyBlog/Components/Pages/ThrowException.razor
2023-02-17 15:28:17 +01:00

3 lines
129 B
Plaintext

@page "/ThrowException"
<button @onclick="@(()=> {throw new Exception("Something is broken"); })">Throw an exception</button>