Is there a way in Groovy to throw an error message with line separator in error prompt — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Is there a way in Groovy to throw an error message with line separator in error prompt

Summary:


Content (please ensure you mask any confidential information):

Hi Experts,

Is there a way to include line separators in error messages when using Groovy? I'm currently using throwVetoException to trigger errors, but I can't format the prompt, making it difficult for users to identify issues. Any suggestions would be appreciated.

Thank you,
Jacky


Version (include the version you are using, if applicable):



Code Snippet (add any code snippets that support your topic, if applicable):

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!