Skip to content

Version 0.20.1: Catchable errors for zero-sided dice

Pre-release
Pre-release
Compare
Choose a tag to compare
@Samasaur1 Samasaur1 released this 30 Jun 18:39
· 144 commits to master since this release
v0.20.1
f2bbc1c

Added

  • DKError/Error's localizedDescription field now has a useful value (based off of the documentation for those fields).

Changed

  • [internal] Complies with best practices (not naming an untyped error in catch clauses; no effect for users).

Fixed

  • Documentation deployment is fixed.
  • Errors thrown by Die(sides:) do not crash Dice(_:String); instead, they are propagated up the call stack.

See changelog
See docs