@wip Cover case of needing exception when an invalid trait is given