I have a sealed class with a bunch of `object`s for api result errors, and a
data class
for Success with extra info. The Success class uses a generated JsonAdapter, and I have a custom JsonAdapter to resolve whether to serialize the Success or to return one of the error objects...