I want to ask to adjust Scripts
reject(reason) function to receive an array of string-messages, and output as multiple elements in list.
- reject(reason) outputs only one list element
- If an array is passed as argument - joins the array values into a string, separated by commas, and outputs one list element
maybe even make it more functional and make able to receive a dictionary, where
key - Title of category of errors
value - Array of values