Web Component: j-ErrorHandler
j-ErrorHandler
This component captures the ON('ERROR', function(err event trigger from the ERROR() method and tries to display form more comfortably.
- jComponent
v19|v20 - easy usage
- singleton
Configuration:
keywords{String}which will be searched in the error messages (default value:401=login)- must be in the form
search1=target_property,search2=target_property
- must be in the form
exec{String}a link to thefunction(response), output:response.items{String Array}response.message{String}response.keyword_target_property{Boolean}optional, according to thekeywordssettings
The component tries using j-Message, j-Snackbar, j-NotifyBar or j-Notify for displaying of errors if you don't have defined exec configuration.
Author
- Peter Širka petersirka@gmail.com
- License
Created
27. october 2022
Updated
25. january 2023
jComponent library
19 | 20
Version
v1
License
https://www.totaljs.com/license/
Responsive
Yes
Author
Peter Širka
Email
petersirka@gmail.com

