[haXe] Why haxe do not support that?

Nicolas Cannasse ncannasse at motion-twin.com
Mon Sep 11 12:03:22 CEST 2006


> It is great. Thanks:)
> But I want to know why haxe do not have some error hierarchy. I think
> it is convenience to have some built-in error class. then user can
> distinguish which error occured easily instead of just a string like
> 'fatal error occured'

This is not because there is no Error baseclass that you don't know what
happenned. For example :

throw "Not enough memory";

Is pretty self-explaining.

Nicolas



More information about the Haxe mailing list