We could open a new Issue for each controller to update each API's to return {success: bool , error?:message string , details?:{}} and the consumers to use res->success and the flash messages res->error. That would leave us in a good spot to handle multiple error types from the same action.
Originally posted by @Chrisincr in https://github.com/Ansteorra/KMP/issues/229#issuecomment-2417266938