public static function register(interfaces\handlers\Exception $handler = null) : Exception
    {
        set_exception_handler([$handler ?: $handler = new static, 'handle']);

        return $handler;
    }