backend::model::dto::drawings_impl

Function _internal_server_error_mismatch_json

source
fn _internal_server_error_mismatch_json(_: Error) -> ServiceError
Expand description

In case of a logic bug: If the JSON in the db doesn’t match DrawingVariant, we return 500.