also look at this beautiful error message for the ...
# development
a
also look at this beautiful error message for the failing case
Copy code
Exception: None of the registered union members matched the subject. declared union type: TypeConstraint(=UnionBase), union members: {TypeConstraint(=UnionA), TypeConstraint(=UnionB)}, subject: <pants_test.engine.test_scheduler.A object at 0x7fc240d85b90>