More expressive error creation
For Node.js only ATM.
Usage:
Error2 = ;;;;;;;
where
typeof name === "string"typeof message === "string"typeof data === "object"
data
object can contain name
and message
properties, which will therfore be used.
Please consult test cases for more funny and informative examples of use.