Created
June 21, 2012 16:52
-
-
Save aertmann/2966975 to your computer and use it in GitHub Desktop.
JavaScript TYPO3 Exception
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
function TYPO3Exception(message, code) { | |
this.message = message; | |
this.code = code; | |
this.toString = function() { | |
return this.message + ' (#' + this.code + ')'; | |
}; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment