should this be thrown an as `Exception` instead to get a proper error on the CLI (formatting etc.)