core-functions
Advanced tools
Changelog
3.0.15
error.stack
with logging of just the errorChangelog
3.0.14
exports._ = '_'; //IDE workaround
) to most modules as a temporary workaround for IDE issueChangelog
3.0.13
exports
object instead of replacing the default objectChangelog
3.0.12
module.exports
object instead of replacing the default objectChangelog
3.0.11
strings
module:
stringify
to survive a getter that throws an errorobjects
module:
hasOwnPropertyWithKeys
& hasOwnPropertyWithCompoundName
functionspromises
module:
wrap
function to also support wrapping of Node-style methodswrapMethod
& wrapNamedMethod
functionsChangelog
3.0.10
errors
module:
usePrefix
argument from FatalError
constructorblocking
property from FatalError
prototypeTransientError
& TimeoutError
Error subclassestoJSON
functiontoJSON
methods to all 3 Error subclasses that delegate to the new toJSON
functionpromises
module:
wrapNamedMethod
version of wrapMethod
functionChangelog
3.0.9
toJSON
method in AppError
class to also include any enumerable own propertiesChangelog
3.0.8
errors
module with a new FatalError
classAppError
& its subclasses in app-errors
module to better conform to the Error
class contract
name
property to the class's prototypeenumerable
false & all, but httpStatus
, to be mutabletoJSON
method to enable previous JSON.stringify
behaviour