haxetink / tink_core

Core utilities
https://haxetink.github.io/tink_core
MIT License
116 stars 33 forks source link

tink.core.Error as haxe.Exception for haxe 4.1+? #122

Open nadako opened 4 years ago

nadako commented 4 years ago

Does it make sense for tink.core.Error to extend haxe.Exception when on Haxe 4.1? I known it's not always meant to be thrown (so it's not strictly an exception) but the functionality seems to be similar nevertheless and extending haxe.Exception would void wrapping it into one on throw and catch.

back2dos commented 4 years ago

I don't know if it makes sense, but I wouldn't mind ;)