Hi Flexmonster,
How can I add custom error message handle for Datasource API?
Hello,
Thank you for writing to us.
Flexmonster provides the olapstructureerror and the queryerror events that can be used to detect when an error occurs.
Using these events, you could provide your custom error handling logic.
Also, it is possible to customize the error messages via localization.
Here is a link to the error messages defined for the custom data source API in the localization file.
We would like to mention that localization can be specified fully via file or partially by specifying specific labels (see example).
Please let us know if this helps.
Kind regards,
Vera