- 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
- 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
- new feature: unwrap ->
unwrap_or
,unwrap_or_else
,unwrap_err
- ErrSet -> .new() ** returning type
bug fix
ed **
- defining Result interface: IResult
- new feature: Error Set ->
createErrorSet
,ErrSet
- typing error... v1.1.0 & v1.1.1 & v1.1.2 is not availabled
- tsc compiled (typescript 4.4.3)
- Err.eSplit now can take unknown value type