Posts by user131589 • 11 points
1 post
-
1
votes1
answer48
viewsA: Generate new Error and get this error in the controller catch
You’re throwing an error inside a block try. Your mistake is captured by the block itself, and then returned with a return. At this point your error is just a message, it makes no sense to return a…