{foo: "bar"} should become something like new MyFooError({_tag: "MyFooError", foo: "bar"}).S.TaggedError, because it expects the _tag to be on the encoded data. I want it to be attached while decoding.S.Class, because it doesn't let me extend from YieldableError.