Skip to content
This repository has been archived by the owner on Jan 10, 2024. It is now read-only.

Handle Apex exceptions passed back to javascript remoting #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

cwarden
Copy link
Contributor

@cwarden cwarden commented May 7, 2013

If an uncaught exception occurs in RemoteTKController, pass the error
returned by the javascript remoting call to the error callback.

My change from #31 is included as well.

cwarden added 2 commits April 12, 2013 15:33
Return a promise from each RemoteTK function for compatibility with
ForceTK.  Passing a callback is now optional as callbacks can be
attached to the promise returned instead.

Uses jQuery's Deferred promise implementation so jQuery must be loaded
and available as $.
If an uncaught exception occurs in RemoteTKController, pass the error
returned by the javascript remoting call to the error callback.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant