Skip to content

Instantly share code, notes, and snippets.

@robotlolita
Created March 5, 2012 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save robotlolita/1976069 to your computer and use it in GitHub Desktop.
Save robotlolita/1976069 to your computer and use it in GitHub Desktop.
Can2D.prototype.C_Error = function(msg, fileName, lineNumber){
return Error("Can2D: "+msg, fileName,lineNumber);
}
Can2D.prototype.CError.prototype = Error.prototype;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment