[
{
"description": "Throws hello as an error",
"rule": { "throw": "hello" },
"data": null,
"error": { "type": "hello" }
},
{
"description": "Throwing NaN produces an error object or measured equivalent (equivalence class test)",
"rule": { "throw": "NaN" },
"data": null,
"error": { "type": "NaN" }
},
{
"description": "Can throw an error object",
"rule": { "throw": { "val": "x" } },
"data": { "x": { "type": "Some error" }},
"error": { "type": "Some error" }
}
]