Error Object custom properties

Hi,

we reach a problem with error objects and custom properties. In spec there is no word about custom properties in error object. But neither forbiden usage of custom properties. So my question is: Can I declare custom ErrorObject property?

1 Like

The meta property of the error object can contain any additional properties needed. The about property of the links object can also refer to any kind of object required (though that would require an additional GET request).

-Fred

1 Like

We went the meta object way. The problem with about is, that we need additional data for fe client. So data have to be part of response object.

I was mainly curious, if it is possible z when it is not forbidden in spec. But thx for opinion.