0.5.0 (2019-12-23)
- Errorish: fixes static classes for inheriting classes (ae9ecf2)
- cleans up sources; begins complete rewrite (f745eb9)
- removes I prefix from type interfaces (122d668)
- Errorish: adds Errorish.raise; modifies recast arguments order (ebb1f60)
- adds ensure (6d0a537)
- adds Errorish class (e12df09)
- adds normalize (a4994af)
- adds rejects (3b0c833)
- adds throws (e73d3d3)
- adds types (3e8d28e)
- Errorish has been almost entirely rewritten. Please check the updated documentation -most of its functionality has suffered changes.
- Type interfaces are no longer prefixed by "I"
0.4.0 (2019-05-13)
- Errorish: adds set and assign methods (844fa77)
- Errorish: allows for message to be null (feb020d)
- Errorish: recursively obtains root (f74fdb7)
- Errorish: reverses source and data params order (3b17f3b)
- Errorish: While previously
data
was the second argument andsource
the third for the Errorish class constructor, nowsource
is the second anddata
the third
0.3.0 (2019-04-27)
- throws: takes async functions too (0e6d974)
0.2.1 (2019-04-23)
- rejects: fixes rejects typings (105a306)
0.2.0 (2019-04-21)
- types, rejects: renames IExceptionOptions to IRejectionOptions (770ccd5)
- throws: throws now takes a function instead of an error (eac3b46)
- types, rejects: IExceptionOptions is now IRejectionOptions
- throws: throws now takes a function instead of an error; it will ensure and throw any error thrown by that function, otherwise returning its value.
0.1.0 (2019-04-18)
- ensure, normalize: prevents defaults object mutation when options are passed (3a66c02)
- adds ensure (ac388c0)
- adds entry point exports (bec50c0)
- ensure: implements stringify (8518cd5)
- adds Errorish (d68f3a7)
- adds normalize (bc68ac6)
- ensure: implements trunk (e8bd0da)
- ensure: improves typings (f44a664)
- scope: adds defaults (f9770a4)
- scope: adds scope getter/setter (69431e3)
- scope: scope.set returns the scope (f1976a8)
- adds rejects (109cd57)
- adds throws (d8cef9e)
- throws,rejects: evaluates options.case when property exists; improves typings (5cb7d9c)
- types: adds ICoreOptions (84d4529)