WIP: use facade to manage invalid factories and their errors