Skip to content

Commit

Permalink
Unwind safeGet accessors, and add error messages in the process
Browse files Browse the repository at this point in the history
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
Joannis committed Mar 14, 2024
1 parent 1ff2b91 commit 911f59d
Show file tree
Hide file tree
Showing 3 changed files with 266 additions and 615 deletions.
Loading

0 comments on commit 911f59d

Please sign in to comment.