Skip to content

Minor version

Choose a tag to compare

@dhoulb dhoulb released this 18 Aug 13:43

Minor version introducing new features with no breaking changes:

  • Add an error string checker, e.g. check(new TypeError(), "error")
  • When ValueError auto-prefixes the name of the calling function, it skips anonymous functions in the stack
  • When ValueError auto-prefixes the name of the calling function, it doesn't if the prefix already includes a ': ' colon space.
  • Add return string type modifier, e.g. check(123, return num) (changes error message to e.g. Must return X)