deleteFailed static method
Implementation
static CascadeError deleteFailed(String entityType, String entityId, String reason) {
return CascadeError(
code: 'DELETE_FAILED',
message: 'Failed to delete $entityType "$entityId": $reason',
entityType: entityType,
entityId: entityId,
details: {'reason': reason},
);
}