Source/SimpleBase.php
public function getErrorMessage()
    {
        $message = $this->getDebugMessage();
        $message .= '<font color="red">ERROR START</font><br>';
        foreach ($this->errorMessage as $items) {
            $message .= "-----------------------------------------------------------------------------------<br>";
            if (is_array($items) || is_object($items)) {
                $message .= "<pre>";
                $message .= $items;
                $message .= "</pre>";
            } elseif (!is_array($items) && !is_object($items)) {
                $message .= $items . '<br/>';
            }
            $message .= "-----------------------------------------------------------------------------------<br>";
        }
        $message .= '<font color="red">ERROR END</font><br>';
        iconv(mb_detect_encoding($message, mb_detect_order(), true), "UTF-8", $message);
        return $message;
    }
public function getErrorMessage()
    {
        $message = $this->getDebugMessage();
        $message .= '<font color="red">ERROR START</font><br>';
        foreach ($this->errorMessage as $items) {
            $message .= "-----------------------------------------------------------------------------------<br>";
            if (is_array($items) || is_object($items)) {
                $message .= "<pre>";
                $message .= $items;
                $message .= "</pre>";
            } elseif (!is_array($items) && !is_object($items)) {
                $message .= $items . '<br/>';
            }
            $message .= "-----------------------------------------------------------------------------------<br>";
        }
        $message .= '<font color="red">ERROR END</font><br>';
        iconv(mb_detect_encoding($message, mb_detect_order(), true), "UTF-8", $message);
        return $message;
    }
public function getErrorMessage ( ) { $ message = $ this -> getDebugMessage ( ) ; $ message .= '<font color="red">ERROR START</font><br>' ; foreach ( $ this -> errorMessage as $ items ) { $ message .= "-----------------------------------------------------------------------------------<br>" ; if ( is_array ( $ items ) || is_object ( $ items ) ) { $ message .= "<pre>" ; $ message .= $ items ; $ message .= "</pre>" ; } elseif ( ! is_array ( $ items ) && ! is_object ( $ items ) ) { $ message .= $ items . '<br/>' ; } $ message .= "-----------------------------------------------------------------------------------<br>" ; } $ message .= '<font color="red">ERROR END</font><br>' ; iconv ( mb_detect_encoding ( $ message , mb_detect_order ( ) , true ) , "UTF-8" , $ message ) ; return $ message ; }
Prints all of error message

@return void
Prints all of error message