JMap.Event.Query.on.error
This event is triggered when a query has been processed, but an error occured.
If the max result limit is reach, an error is thrown, and this event is triggered.
Your listener id (must be unique)
Your listener function
// log a message in the console if a query error occuredJMap.Event.Query.on.error( "custom-query-error", params => console.log("A query to the server has failed", params)) Copy
// log a message in the console if a query error occuredJMap.Event.Query.on.error( "custom-query-error", params => console.log("A query to the server has failed", params))
JMap.Event.Query.on.error
This event is triggered when a query has been processed, but an error occured.
If the max result limit is reach, an error is thrown, and this event is triggered.