Front end error message customization

question
Tags: #<Tag:0x00007f4ec56a2bb8>

#1

Hi,

We are currently using OneException in displaying the errors in front end.
throw new OneException(“Error Message”);
However, it automatically adds the Server error and the method errors.
image
We want to make a customize error message that is more user friendly.
Something like, Operation failed: The approver is not available

Is there a way we can do that? We are using edorasone v1.6.0


#2

I already found a work around. You can manipulate the error message using jquery in custom.js
angular.module(‘one.custom’, []).run(function(globalMessage){

globalMessage.onShow(function(){
    setTimeout(function(){
        //Do the manipulation of error pop up message here.
    },0);


});

});


#3

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.