Log only WARN or higher by default
Fix $errno for compat with ErrorException

Does type checks in native ErrorException constructor.
Easier than changing SS_Log core behaviour.