class PolicyErrorResponseAdapter extends AbstractErrorResponseAdapter<PolicyErrorResponse> implements PolicyAdapter<PolicyErrorResponse> {

    public static PolicyErrorResponseAdapter of(final HeaderTranslator headerTranslator,
            final ErrorRegistry<DittoRuntimeException> errorRegistry) {
        return new PolicyErrorResponseAdapter(requireNonNull(headerTranslator), errorRegistry);
    }

    private  PolicyErrorResponseAdapter(final HeaderTranslator headerTranslator,
            final ErrorRegistry<DittoRuntimeException> errorRegistry);

}