public String getError() {
        return error;
    }
This is a safety mechanism to allow the constructor to fail and signal that it can not be used.

@return The error string, or null if no error.
documentapi/src/main/java/com/yahoo/documentapi/messagebus/protocol/ExternPolicy.java