private function getAssociatedClass($errno)
    {
        $associations = [
            E_WARNING => Exception\WarningException::class,
            E_NOTICE => Exception\NoticeException::class,
            E_USER_ERROR => Exception\UserErrorException::class,
            E_USER_WARNING => Exception\UserWarningException::class,
            E_USER_NOTICE => Exception\UserNoticeException::class,
            E_STRICT => Exception\StrictException::class,
            E_RECOVERABLE_ERROR => Exception\RecoverableErrorException::class,
            E_DEPRECATED => Exception\DeprecatedException::class,
            E_USER_DEPRECATED => Exception\UserDeprecatedException::class,
        ];

        if (isset($associations[$errno])) {
            return $associations[$errno];
        }

        return Exception\ErrorException::class;
    }