Adds error return values to ValueOf(), NameOf(), QuadDirection on the QuadStore. The QuadStore currently returns a value for these functions without an error, but internally the QuadStore might run into some errors when processing the value. This hack is clearly identified in the code: rather than return the error, it's just logged.
If the QuadStore has an error while processing ValueOf or NameOf, the returned value will be nil which might lead to many types of undefined behavior - such as queries returning "nil" for one field of a Quad.
Adds error return values to ValueOf(), NameOf(), QuadDirection on the QuadStore. The QuadStore currently returns a value for these functions without an error, but internally the QuadStore might run into some errors when processing the value. This hack is clearly identified in the code: rather than return the error, it's just logged.
If the QuadStore has an error while processing ValueOf or NameOf, the returned value will be nil which might lead to many types of undefined behavior - such as queries returning "nil" for one field of a Quad.
Fixes #985
This change is