Skip to content

Releases: just-do-halee/rusultts

v2.0.0

06 Oct 11:52
Compare
Choose a tag to compare
  • auto parsing Err.eSplit(e) do return [msg, value]: [string, E | null].
  • this is kind of huge change, so i had to upgrade the major version...
  • adding unwrap_or, unwrap_or_else, unwrap_err on the interface of Result(=IResult)
  • fixes README.md

v1.4.0

06 Oct 00:38
Compare
Choose a tag to compare
  • JSON.stringify(value) implemented
  • so from now on, can be converted each output errors (e.g JSON.parse(Err.eSplit(e)[1]) === value<E>)
  • createErrSet({...}).match(e, '...').unwrap() will automatically parse out

v1.3.0

05 Oct 23:26
Compare
Choose a tag to compare
  • new feature: unwrap -> unwrap_or, unwrap_or_else, unwrap_err

v1.2.1

05 Oct 17:13
Compare
Choose a tag to compare
  • ErrSet -> .new() ** returning type bug fixed **

v1.2.0

05 Oct 16:01
Compare
Choose a tag to compare
  • defining Result interface: IResult
  • new feature: Error Set -> createErrorSet, ErrSet

v1.1.3

05 Oct 09:35
Compare
Choose a tag to compare

*** typing error... v1.1.0 & v1.1.1 & v1.1.2 is not availabled ***

please use v1.1.3

v1.1.1

05 Oct 09:11
Compare
Choose a tag to compare
v1.1.1

v1.1.0

05 Oct 09:01
Compare
Choose a tag to compare

1.1.0 (October 5, 2021)
Release 1.1.0

tsc compiled (typescript 4.4.3)
Err.eSplit now can take unknown value type

v1.0.1

04 Oct 21:58
Compare
Choose a tag to compare

typing error, literally

v1.0.0

04 Oct 18:43
Compare
Choose a tag to compare

Release