devsite/tools/jazzy/templates

FirebaseFirestore Framework Reference

DecodingFailureStrategy

public enum DecodingFailureStrategy

The strategy to use when an error occurs during mapping Firestore documents to the target type of FirestoreQuery.

  • Ignore any errors that occur when mapping Firestore documents.

    Declaration

    Swift

    case ignore
  • Raise an error when mapping a Firestore document fails.

    Declaration

    Swift

    case raise