Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simplesamlphp
Manage
Activity
Members
Labels
Plan
Jira
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Perun
Perun ProxyIdP
v1
simplesamlphp
Commits
ce1d570e
Unverified
Commit
ce1d570e
authored
7 years ago
by
Tim van Dijen
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Update Error.php
parent
a264a9d0
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
lib/SimpleSAML/Error/Error.php
+1
-10
1 addition, 10 deletions
lib/SimpleSAML/Error/Error.php
with
1 addition
and
10 deletions
lib/SimpleSAML/Error/Error.php
+
1
−
10
View file @
ce1d570e
...
@@ -9,8 +9,6 @@
...
@@ -9,8 +9,6 @@
*/
*/
class
SimpleSAML_Error_Error
extends
SimpleSAML_Error_Exception
class
SimpleSAML_Error_Error
extends
SimpleSAML_Error_Exception
{
{
/**
/**
* The error code.
* The error code.
*
*
...
@@ -18,7 +16,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
...
@@ -18,7 +16,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
*/
private
$errorCode
;
private
$errorCode
;
/**
/**
* The http code.
* The http code.
*
*
...
@@ -26,7 +23,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
...
@@ -26,7 +23,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
*/
protected
$httpCode
=
500
;
protected
$httpCode
=
500
;
/**
/**
* The error title tag in dictionary.
* The error title tag in dictionary.
*
*
...
@@ -34,7 +30,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
...
@@ -34,7 +30,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
*/
private
$dictTitle
;
private
$dictTitle
;
/**
/**
* The error description tag in dictionary.
* The error description tag in dictionary.
*
*
...
@@ -42,7 +37,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
...
@@ -42,7 +37,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
*/
private
$dictDescr
;
private
$dictDescr
;
/**
/**
* The name of module that threw the error.
* The name of module that threw the error.
*
*
...
@@ -50,7 +44,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
...
@@ -50,7 +44,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
*/
private
$module
=
null
;
private
$module
=
null
;
/**
/**
* The parameters for the error.
* The parameters for the error.
*
*
...
@@ -58,7 +51,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
...
@@ -58,7 +51,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
*/
private
$parameters
;
private
$parameters
;
/**
/**
* Name of custom include template for the error.
* Name of custom include template for the error.
*
*
...
@@ -66,7 +58,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
...
@@ -66,7 +58,6 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
*/
*/
protected
$includeTemplate
=
null
;
protected
$includeTemplate
=
null
;
/**
/**
* Constructor for this error.
* Constructor for this error.
*
*
...
@@ -254,9 +245,9 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
...
@@ -254,9 +245,9 @@ class SimpleSAML_Error_Error extends SimpleSAML_Error_Exception
$this
->
logError
();
$this
->
logError
();
$errorData
=
$this
->
saveError
();
$errorData
=
$this
->
saveError
();
$config
=
SimpleSAML_Configuration
::
getInstance
();
$config
=
SimpleSAML_Configuration
::
getInstance
();
$data
=
array
();
$data
[
'showerrors'
]
=
$config
->
getBoolean
(
'showerrors'
,
true
);
$data
[
'showerrors'
]
=
$config
->
getBoolean
(
'showerrors'
,
true
);
$data
[
'error'
]
=
$errorData
;
$data
[
'error'
]
=
$errorData
;
$data
[
'errorCode'
]
=
$this
->
errorCode
;
$data
[
'errorCode'
]
=
$this
->
errorCode
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment