Version 0.20.1: Catchable errors for zero-sided dice
Pre-release
Pre-release
Added
DKError
/Error
'slocalizedDescription
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 crashDice(_:String)
; instead, they are propagated up the call stack.