public function ExceptionExample::dolor in Coder 8.3
Same name and namespace in other branches
- 8.3.x tests/DrupalPractice/General/ExceptionTUnitTest.inc \ExceptionExample::dolor()
File
- tests/
DrupalPractice/ General/ ExceptionTUnitTest.inc, line 21
Class
Code
public function dolor() {
throw (new PipelineStepExecutionLogicException('Graph data could not be inserted'))
->setUserMessage([
'#markup' => $this
->t('Could not store triples in triple store. Reason: @message', [
'@message' => t('Failed'),
]),
]);
}