Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unwind
safeGet
accessors, and add error messages in the process
Since safeGet is not used, we can add custom error messages that clarify the specific issue at hand. Also by leveraging `#function` you can trace back the origin of the error. Note: String errors should still be migrated over to concrete types. This commit also adopts `guard let` syntax to keep cyclomatic complexity low.
- Loading branch information