function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
mnknmnkn 

Handling Visualforce Remote Exceptions

Hello,

 

I am currently working on a visualforce page which is used as a web app.

To accomplish this I used a custom controller and RemoteAction-functions.

 

Now I came to a point, where I want to perform some error handling.

Ok so I have a error handling function that takes the event attribute and converts it into an error/success - message.

 

To differ between the response cases I tried to figure out what the attribute means, but I found nothing but this little documentation: http://www.salesforce.com/us/developer/docs/pages/Content/pages_js_remoting.htm#handling_remote_response

 

Is there any detailed documentation about the response object?

Or is there a best practice guide on how to handle remoting exceptions?

 

Thanks