CSPACE-6042: Implement toString() in InvocationError, to return meaningful error messages in log output.