Skip to content
Snippets Groups Projects
Unverified Commit ce1d570e authored by Tim van Dijen's avatar Tim van Dijen Committed by GitHub
Browse files

Update Error.php

parent a264a9d0
No related branches found
No related tags found
No related merge requests found
......@@ -9,8 +9,6 @@
*/
class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
{
/**
* The error code.
*
......@@ -18,7 +16,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
private $errorCode;
/**
* The http code.
*
......@@ -26,7 +23,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
protected $httpCode = 500;
/**
* The error title tag in dictionary.
*
......@@ -34,7 +30,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
private $dictTitle;
/**
* The error description tag in dictionary.
*
......@@ -42,7 +37,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
private $dictDescr;
/**
* The name of module that threw the error.
*
......@@ -50,7 +44,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
private $module = null;
/**
* The parameters for the error.
*
......@@ -58,7 +51,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
private $parameters;
/**
* Name of custom include template for the error.
*
......@@ -66,7 +58,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
protected $includeTemplate = null;
/**
* Constructor for this error.
*
......@@ -254,9 +245,9 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
$this->logError();
$errorData = $this->saveError();
$config = SimpleSAML_Configuration::getInstance();
$data = array();
$data['showerrors'] = $config->getBoolean('showerrors', true);
$data['error'] = $errorData;
$data['errorCode'] = $this->errorCode;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment