change the DISABLED_DIRECTORY state to an Error object rather than
just a string, since that is an exceptional condition