protected function getLtiErrorMessage() {
        $message = __('Error: ') . $this->exception->getMessage();
        $log = __('Error: [key %s] "%s"', $this->exception->getKey(), $this->exception->getMessage());
        return new LtiErrorMessage($message, $log);
    }
protected function getLtiErrorMessage() {
        $message = __('Error: ') . $this->exception->getMessage();
        $log = __('Error: [key %s] "%s"', $this->exception->getKey(), $this->exception->getMessage());
        return new LtiErrorMessage($message, $log);
    }
protected function getLtiErrorMessage ( ) { $ message = __ ( 'Error: ' ) . $ this -> exception -> getMessage ( ) ; $ log = __ ( 'Error: [key %s] "%s"' , $ this -> exception -> getKey ( ) , $ this -> exception -> getMessage ( ) ) ; return new LtiErrorMessage ( $ message , $ log ) ; }
Generate LtiErrorMessage based on exception

@return LtiErrorMessage
Generate LtiErrorMessage based on exception