Available on all platforms
An exception containing arbitrary value.
This class is automatically used for throwing values, which don't extend
haxe.Exception or native exception type. For example:
throw "Terrible error";
will be compiled to
throw new ValueException("Terrible error");
Available on cs
Extract an originally thrown value.
This method must return the same value on subsequent calls. Used internally for catching non-native exceptions. Do not override unless you know what you are doing.
© 2005–2020 Haxe Foundation
Licensed under a MIT license.