An Exception is a special error class to allow trees of causes.
import Exception from "apprt-core/Exception";try { // code with throws an error} catch(e) { // wrap into exception class to get stacktraces throw Exception.wrap(e);} Copy
import Exception from "apprt-core/Exception";try { // code with throws an error} catch(e) { // wrap into exception class to get stacktraces throw Exception.wrap(e);}
An Exception is a special error class to allow trees of causes.