Effect CommunityEC
Effect Community2y ago
2 replies
Alex Dixon

Replacement for TaggedError.struct in latest schema version

Hello, I am upgrading to the latest schema from something like 0.56. I was wondering if there is a replacement for TaggedError.struct. This formerly allowed access to a data/json representation of the class / error. This came in handy for rpc contracts: We used the error type internally but the .struct form to specify what would be serialized over the wire as plain data to ensure a clear representation
Was this page helpful?