Skip to content

Instantly share code, notes, and snippets.

@yashprit
Created August 13, 2014 12:52
Show Gist options
  • Save yashprit/989e166e997512512fea to your computer and use it in GitHub Desktop.
Save yashprit/989e166e997512512fea to your computer and use it in GitHub Desktop.
webclient_errorcode
var errorcode = {
500: "server is not avaible",
getMessage: function (code) {
return this[code]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment