I have done few webservices configuration in Layer7 and all are working as expected but i havent configured any error templates for back failures. I did the configuration which i am aware. Please find below.
If any issue with SSL or HTTP basic - I made the template like return 401 error with authentication required for HTTP and 401 error SSL error for SSL.
Similarly i need for status codes 500(Internal server),504(Gateway error),400(Bad Request).
Is there any possibility to make all these error codes as template format in my webservices.