throws
Also written: try, do/catch, catch
Swift's error handling: a function marked `throws` can fail, callers use `try`, and `catch` handles the error. `loadMenu` catches every error and turns it into a message.
Also written: try, do/catch, catch
Swift's error handling: a function marked `throws` can fail, callers use `try`, and `catch` handles the error. `loadMenu` catches every error and turns it into a message.