MCPcopy Create free account
hub / github.com/MathMan05/Fermi / error

Method error

src/webpage/settings.ts:2437–2450  ·  view source on GitHub ↗
(formElm: string, errorMessage: string)

Source from the content-addressed store, hash-verified

2435 } catch (e) {
2436 if (e instanceof FormError) {
2437 this.handleError(e);
2438 }
2439 return;
2440 }
2441 if (this.fetchURL !== "") {
2442 const onSubmit = async (json: any) => {
2443 try {
2444 await this.onSubmit(json, build);
2445 } catch (e) {
2446 console.error(e);
2447 if (e instanceof FormError) {
2448 this.handleError(e);
2449 }
2450 return;
2451 }
2452 };
2453 const doFetch = async () => {

Callers 15

loadUptimeObjectFunction · 0.80
saveUptimeObjectFunction · 0.80
resolveInstanceFunction · 0.80
checkHealthFunction · 0.80
getApiUrlsFunction · 0.80
index.tsFile · 0.80
crawlForTextFunction · 0.80
updateMethod · 0.80
newUnsafeMethod · 0.80
IdentifyFileMethod · 0.80
updateMethod · 0.80
getPermissionMethod · 0.80

Calls 1

makeErrorMethod · 0.95

Tested by

no test coverage detected