Created
July 2, 2015 19:05
-
-
Save williankeller/02d3a49d9a2567d8b72d to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| error: function (_jqxhr, text, error) { | |
| switch (_jqxhr.status) { | |
| case 404: | |
| case 500: | |
| console.log("Erro: " + error + " - " + text); | |
| console.log(_jqxhr); | |
| break; | |
| default: | |
| console.log(_jqxhr); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment