points by forresthopkinsa 2 days ago | 0 comments
> But there has to be something in the payload field when it is not applicable
Not in languages with ergonomic sum types. A `Result` or `Either` will have no payload field on the error type. The compiler won't let you dereference it.
Aún no hay comentarios.