A public entity is not liable for an injury caused by adopting or failing to adopt an enactment or by failing to enforce any law. Ca. Gov. Code § 818.2 Added by Stats. 1963, Ch. 1681.
Neither a public entity nor a public employee is liable for injury caused by the failure to make an arrest or by the failure to retain an arrested person in custody. Ca. Gov. Code § 846 Added by Stats. 1963, Ch. 1681.