In #Swift, it's easy to get error messages wrong. It's due to a design flaw in the "Error" protocol itself, introduced for #ObjectiveC compatibility. I've seen people write below code all the time. I fixed this flaw in #ErrorKit: Just conform your errors to "Throwable" instead!
Learn more: #iOSDev #ErrorHandling #DevTips
https://www.fline.dev/swift-error-handling-done-right-overcoming-the-objective-c-error-legacy/