Hi Seetha,

Could you please explain more on what is meant by "using Javascript"?
In the meantime, please check the following doc[1] which describes the
Fault-mediator which seems to be the solution for your requirement.

[1] -  https://docs.wso2.com/display/EI640/Fault+Mediator

Regards,

On Fri, Nov 8, 2019 at 6:17 PM seetha1 <[email protected]> wrote:

> i'm validating a header field in the IN sequence , if its empty i need to
> throw a exception back to the client. How can i achieve this. Is there a
> throw function from the javascript.
>
>
>
> --
> Sent from:
> http://wso2-oxygen-tank.10903.n7.nabble.com/WSO2-Development-f3.html
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>


-- 
*Pasindu Jayaweera *| Senior Software Engineer | WSO2 Inc
Mobile: +94 711555785 | Blog: blog.pasindujayaweera.com
<http://wso2.com/signature>
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to