27 lines
739 B
JavaScript
27 lines
739 B
JavaScript
// Metro module 194 (f195).
|
|
import { getEnforcing } from "./Module30";
|
|
const enforcing = getEnforcing("ExceptionsManager");
|
|
let c211_1 = {
|
|
reportFatalException: (a0, a1, a2) => {
|
|
enforcing.reportFatalException(a0, a1, a2);
|
|
},
|
|
reportSoftException: (a0, a1, a2) => {
|
|
enforcing.reportSoftException(a0, a1, a2);
|
|
},
|
|
dismissRedbox: () => {
|
|
if (enforcing.dismissRedbox) {
|
|
enforcing.dismissRedbox();
|
|
}
|
|
},
|
|
reportException: (a0) => {
|
|
if (enforcing.reportException) {
|
|
enforcing.reportException(a0);
|
|
} else if (a0.isFatal) {
|
|
c211_1.reportFatalException(a0.message, a0.stack, a0.id);
|
|
} else {
|
|
c211_1.reportSoftException(a0.message, a0.stack, a0.id);
|
|
}
|
|
}
|
|
};
|
|
export default c211_1;
|