public ProtectedQueryError getError() {
        return this.error;
    }
<p>
An error thrown by the protected query.
</p>

@return An error thrown by the protected query.
aws-java-sdk-cleanrooms/src/main/java/com/amazonaws/services/cleanrooms/model/ProtectedQuery.java