map.apps Bundle APIs 4.20.0
    Preparing search index...

    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);
    }