Warren Buckley
12/06/2024, 11:50 AMtryExecuteAndNotify
and your own controller returning an error message that shows up as a notification bottom right?Warren Buckley
12/06/2024, 11:52 AMerror
is undefined
but inside data
there is a property called error
which does have my problemDetail stuff ?!
https://cdn.discordapp.com/attachments/1314559596739694623/1314560024034410557/image.png?ex=675436ed&is=6752e56d&hm=c80666104f358713fe437278a45923e5d9fc801bff73f0e3f928e7d9e75943c8&Warren Buckley
12/06/2024, 11:52 AMWarren Buckley
12/06/2024, 12:32 PMMarkus Johansson
12/09/2024, 9:18 AMvar problemDetails = new ProblemDetailsBuilder()
.WithTitle("Error")
.WithDetail(errorBody.Message)
.Build();
return StatusCode(400,problemDetails);