Open matous-volf opened 2 months ago
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 variants NotFound and TaskError(TaskError).
TaskEditError
NotFound
TaskError(TaskError)
Or, since it is common, add NotFound to the base Error.
Error
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)
.