from

fun from(value: JsValue): JsError

Wraps a thrown or rejected value, reading name and message off it when it has them.