deserialize-error
convert Plain Object to Error Object
Usage
Serialize Error's name, message and stack-trace with serialize-error npm, then deserialize.
const err = 'ouch'const obj = const err2 = assertassertassertassert
It also works with custom error and json format.
{ supermessage thisname = 'ArgumentError' } const err = '"name" should be a string!!'const err2 = assertassertassertassert