function
makeError
export
function
makeError
(
obj
:
MakeErrorOptions
)
:
Error
;
Makes an Error from a plain info object.
Parameters
obj:
MakeErrorOptions
Error info