MCPcopy Create free account
hub / github.com/Vishal-raj-1/Awesome-JavaScript-Projects / errorHandler

Function errorHandler

assets/js/minions.js:17–20  ·  view source on GitHub ↗
(error)

Source from the content-addressed store, hash-verified

15
16//for error handling
17function errorHandler(error) {
18console.log("error occured", error);
19alert("something wrong with server! try again after some time")
20}
21
22//for the operation and callback operation
23function clickHandler() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected