Proper ID not found model error handling #34
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Currently, editing models and similar server functions do not return a specific error when the model is not found by the provided ID. The solution is probably to create a new enum like
TaskEditError
with variantsNotFound
andTaskError(TaskError)
.Or, since it is common, add
NotFound
to the baseError
.