public function strings() { return array_merge(parent::strings(), array('message' => 'Something in the way you\'re interacting with ' . $this->get_sitename() . " is causing an error.\nDetails if any, follow:")); }
/** * Constructor * @param string $debuginfo some detailed information */ function __construct($debuginfo) { parent::__construct(get_string('accessexception', 'auth.webservice') . $debuginfo); }