src/Application.php
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);
    }
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);
    }
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 ) ; }
Setup the application's error handling.

@param  string $value - configuration value as passed to the framework loader
Setup the application s error handling .