Propagating server side exceptions to Lightning Components.
An exception is a error condition or unexpected behavior that is encountered by an executing block of code. Exceptions can be thrown because of a error in executing code or in code that is being called by your code. Exception handling strategy is to gracefully handle error condition. Apex provides try, catch, and finally statements to gracefully recover from exceptions and throw statements to generate exception. If an end user runs into an exception that occurred in apex code, an error message appears on user interface with description of error.… Read more Propagating server side exceptions to Lightning Components. →