Filtering of jqXHR object on querying error before calling all functions.
Parameters
- jqXHR – error data
- url – link for query
- send_data – additional data to be sent, usually an empty object
- callback_func – functions that are called at different stages
- type – type (context) of loading a new page, usually default
