You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
match String::toUUID param_one
| None -> Http::badRequest "param one was not a uuid"
| Some id ->
... // rest of handler
match String::toUUID param_two
| None -> Http::badRequest "param two was not a uuid"
| Some id ->
... // rest of handler
... // etc
match MyCustonTypeSet:: [valA, valB, valC] is [id, string, int]
| None -> Http::badRequest "Error I"
| Some -> Http::badRequest "Error II"
| All ->
... // rest of handler
For example, handling inputs/errors at the start of the handler:
The text was updated successfully, but these errors were encountered: