@wider/registry~loggedError()

Extends `Error - with its additional properties and also logs the error to the console

new loggedError()

Properties:
Name Type Description
message String

the error message

code NCName

a code word for optional programmatic use by code that traps the error

moduleName id | Object

the name of the module affected. If provided as an object, then the object should have a .moduleName property