Created
June 2, 2014 16:20
-
-
Save bartek/e5f500c7c5981dbc2534 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
function InvalidFieldException(message) { | |
this.message = (message || ""); | |
this.name = 'InvalidFieldException'; | |
this.stack = (new Error()).stack; | |
} | |
InvalidFieldException.prototype = Error.prototype; | |
// throw new InvalidFieldException("...") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment