CAF Shared JavaScript

Class CAF.ErrorHandler

Object
   |
   +--CAF.ErrorHandler

class CAF.ErrorHandler


Handles CAF client-side errors.
Defined in hidden.js


Constructor Summary
CAF.ErrorHandler ()
           
 
Method Summary
<static> void append(msg, level, cat)
          
<static> void handleAsyncClientError(request, exception)
           Handles an async response which failed due to a client-side error.
<static> void handleAsyncServerError(request)
           Handles an async response which failed due to a server-side error.
<static> void handleAsyncUnknownError(request)
           Handles an async response which failed due to a response that CAF doesn't understand (usually because the session server-side state is out of sync with the client-side state).
<static> void handleError(msg)
           Handles the display of an error message.
<static> void handleFormValidationError(forms, msg)
           Handles the display of an invalid-form message.
<static> void handleInfo(msg)
           Handles the display of an informational message.
<static> void handleInputValidationError(input, msg, focus)
           Handles the display of an invalid-input message.
<static> void handleInputValidationFixed(input)
           Handles the removal of an invalid-input message.
<static> void handleLogin(request)
           Handles an async response which contained a login form.
<static> void handleWarn(msg)
           Handles the display of a warning message.
<static> void start()
           Start logging.
<static> void stop()
           Stop logging.

Constructor Detail

CAF.ErrorHandler

CAF.ErrorHandler()

Method Detail

append

<static> void append(msg, level, cat)

handleAsyncClientError

<static> void handleAsyncClientError(request, exception)

handleAsyncServerError

<static> void handleAsyncServerError(request)

handleAsyncUnknownError

<static> void handleAsyncUnknownError(request)

handleError

<static> void handleError(msg)

handleFormValidationError

<static> void handleFormValidationError(forms, msg)

handleInfo

<static> void handleInfo(msg)

handleInputValidationError

<static> void handleInputValidationError(input, msg, focus)

handleInputValidationFixed

<static> void handleInputValidationFixed(input)

handleLogin

<static> void handleLogin(request)

handleWarn

<static> void handleWarn(msg)

start

<static> void start()

stop

<static> void stop()

CAF Shared JavaScript

Documentation generated by JSDoc on Sun Sep 15 20:21:18 2019