California Penal Code section 841 requires the officer to inform the person being arrested of the intent to arrest, the cause and the authority under which they're being arrested. Technically, they should have advised you that you were being arrested on a warrant for ____ charge. It's more of a technicality, since the failure to advise you really won't impact the case unless they alleged you were resisting arrest, in which case your attorney could argue that you were being unlawfully arrested based on the failure to comply with 841.
Regarding Miranda - it's not like on TV or in the movies. Just because you were arrested it doesn't mean they have to automatically give you your rights. If you are in custody (arrested) and being interrogated (questioned in any way), then they must give you your rights or the statement will be inadmissible.Ask a similar question
The police do not have to say what the criminal charges are (partly because the police can arrest you even if no charges have been filed).
Furthermore, the police are under no obligation to give you a Miranda warning. If they subject you to custodial interrogation without giving you a Miranda warning, they will generally not be able to use your statements against you in court.Ask a similar question