Front end error message customization

Tags: #<Tag:0x00007f64b991a328>



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.
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


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

        //Do the manipulation of error pop up message here.



closed #3

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