class PolicyErrorResponse extends AbstractErrorResponse<PolicyErrorResponse> implements PolicyCommandResponse<PolicyErrorResponse> {

    public static PolicyErrorResponse of(final DittoRuntimeException dittoRuntimeException) {
        return of(FALLBACK_POLICY_ID, dittoRuntimeException, dittoRuntimeException.getDittoHeaders());
    }

    private  PolicyErrorResponse(final PolicyId policyId, final DittoRuntimeException dittoRuntimeException,
            final DittoHeaders dittoHeaders);

}