Understanding the Purpose of Schema.encode and Encode Sync

If Schema.encode requires that you pass in the right values, what is the point on it returning an effect ? What is the possible failure ? I saw there is the encode sync , which I use. Having that many options is a bit confusing, so if anyone can explain me the need for each one I will be grateful
Was this page helpful?