public/assets/js/handlers.js
// Handle fail (custom message)
Handle fail (custom message)
Handle fail ( custom message )
function failCustom(errors = [], names = [], message) {
    errorCheck(errors, names);
    hideProgressBar();
    toastr.error(message)
}
function failCustom ( errors = [ ] , names = [ ] , message ) { errorCheck ( errors , names ) ; hideProgressBar ( ) ; toastr . error ( message ) }
Handle fail (custom message)
Handle fail ( custom message )