Trying to decipher this error message I'm getting when prompting my saveRecord function with an error. Can anyone help me understand what's wrong?
It seems to be something to do with the error.create for which I'm using the N/error module.
Code below.
Error is coming from the saveRecord function.
It's essentially the same as the validateField function and I believe it's something to do with the N/error module.
Thanks!