There is currently no error reporting in the Hunspell class when a dictionary or affix file fails to load. This means users of the library have no way of telling whether or not the Hunspell object is in a bad state or whether its function calls will lead to undefined behavior.
For example, if a dictionary fails to load, calling Hunspell::add will try to divide by zero when you get down into the HashMgr::hash method because tablesize is 0.