OPSMN-5903: Added the database error in the API response whenever a PV cannot be deleted due to foreign key constraints. This helps users to know the data table that is preventing its deletion.
OPSMN-5903: Added the database error in the API response whenever a PV cannot be
deleted due to foreign key constraints. This helps users to know the data table
that is preventing its deletion.

krishagni/openspecimen,krishagni/openspecimen,krishagni/openspecimen