Can provide more error details catched

  1. For a dhx grid code:
    grid.data.save(url);
    grid.data.saveData.then(() => {
    }).catch(err => {
    console.log(err.message);
    });
    in this case catched error includes http status and a error message such as:
    err = {
    status: 400,
    statusText: “Bad Request”,
    message: “Column count doesn’t match value count at row 1”
    }
  2. For a dhx form code:
    form.send(url).then (results => {
    }).catch(err => {
    console.log(err);
    })
    and err catched does not include a detail message:
    err = {
    status: 400,
    statusText: “Bad Request”
    }
    So, can a form error returned be same as a catched grid error then I can responed some information to the client.

I have the same issue with the form.send().
If I want to provide the client with a custom error/status text, I have to send it with a response status 200 instead of 400.
But I think this should be fixed so it also works with a response status 400 to get the message!