Created
February 3, 2015 09:28
-
-
Save dpeek/761d332f6f93e6fe7bdb 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
package haxe; | |
typedef Error = | |
#if !native_error | |
String; | |
#elseif js | |
js.Error; | |
#elseif flash | |
flash.errors.Error; | |
#elseif java | |
java.lang.Error; | |
#elseif cs | |
cs.system.Exception; | |
#elseif python | |
python.lib.Exception; | |
#elseif php | |
php.Exception; | |
#else | |
String; | |
#end | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment