Possibility to provide summary of the error occurred instead of generic static message in the error popup saying An error occurred, please contact the administrator - Mendix Forum

Possibility to provide summary of the error occurred instead of generic static message in the error popup saying An error occurred, please contact the administrator

1

While users are using the appication, if anything goes wrong then it is throwing a generic error popup saying "An error occurred, please contact the administrator". Instead of this generic statement, it would be better to provide more information on the errror or simple a summary of the error in the same popup.

asked
2 answers

Hi Neha, Thanks for your response on this. Can you please help provide more details on the $latestError object, like how do I access it and make use of it in displaying the errors.

Created

Hi Abhiram, 

You can implement error handling for specific actions and retrieve error details using the $latestError object. This allows you to customize error messages for users. Mendix does not display error messages directly to users in order to maintain the application's integrity, as some direct error messages may not be suitable for users.

Created