You are here

public function TestingAppService::error in Forena Reports 8

General wrapper procedure for reporting erros

Parameters

string $short_message Message that will be displayed to the users:

string $log Message that will be recorded in the logs.:

Overrides AppService::error

File

tests/src/Unit/Mock/TestingAppService.php, line 145

Class

TestingAppService

Namespace

Drupal\Tests\forena\Unit\Mock

Code

public function error($short_message = '', $log = '') {
  echo "{$short_message}\n";
  echo "{$log}\n";
}