Represents a reference to a field in the error message.
Example
ref = FieldReference("email")
assert ref.value == "email"
Source code in src/forging_blocks/foundation/errors/core/field_reference.py
| @dataclass(frozen=True)
class FieldReference:
"""Represents a reference to a field in the error message.
Example:
```python
ref = FieldReference("email")
assert ref.value == "email"
```
"""
value: str
|