protected void buildEcpFaultResponse(final SamlProfileBuilderContext context, final String error) throws Exception {
        context.getHttpRequest().setAttribute(SamlIdPConstants.REQUEST_ATTRIBUTE_ERROR, error);
        getConfigurationContext().getSamlFaultResponseBuilder().build(context);
    }
Handle ecp request.

@param response the response
@param request  the request
@throws Exception the exception
support/cas-server-support-saml-idp-web/src/main/java/org/apereo/cas/support/saml/web/idp/profile/ecp/ECPSamlIdPProfileHandlerController.java