# `Protox.RequiredFieldsError`
[🔗](https://github.com/ahamez/protox/blob/main/lib/protox/errors.ex#L63)

This error is thrown when encoding or decoding a Protobuf 2 message
with unset required fields (that is, that have the value `nil`).

---

*Consult [api-reference.md](api-reference.md) for complete listing*
