protected function setupErrorHandling($value) {
        $mode = ErrorHandler::THROW_EXCEPTIONS;                         // default

        if (is_string($value)) {
            $value = strtolower($value);
            if      ($value == 'weak'  ) $mode = ErrorHandler::LOG_ERRORS;
            else if ($value == 'ignore') $mode = 0;
        }
        $mode && ErrorHandler::setupErrorHandling($mode);
    }