When editing an entity it may happen that the server rejects the edit due to malformed inputs (for example missing properties, incorrect codings, etc).
Fire Scribe's snackbar only says "couldn't save entity" which is not helpful. I suggest that the snackbar contains a "Details" button. When clicked, it will show details of the error:
- If the server result is OperationOutcome with severity "error", then show
OperationOutcome.diagnostics and OperationOutcome.location
- If the server result is something else than OperationOutcome, pretty-print the entire response
When editing an entity it may happen that the server rejects the edit due to malformed inputs (for example missing properties, incorrect codings, etc).
Fire Scribe's snackbar only says "couldn't save entity" which is not helpful. I suggest that the snackbar contains a "Details" button. When clicked, it will show details of the error:
OperationOutcome.diagnosticsandOperationOutcome.location