Use the new API error format in Validate/RejectClassification

Erwan Rouchet
2026-03-12T15:59:23Z

https://redmine.teklia.com/issues/11464

The new API error format should be implemented on the `ValidateClassification` and `RejectClassification` endpoints, and the existing unit tests should be updated.

The [best practices](https://re...

https://redmine.teklia.com/issues/11464

The new API error format should be implemented on the ValidateClassification and RejectClassification endpoints, and the existing unit tests should be updated.

The best practices have details on how to implement this, including adding error codes to messages so that they do not always use the default code invalid.

These endpoints are only used by the frontend, and it does not do any specific error handling, so there are no other updates to make.