# \OneLogin_Saml2_Error

Error class of PHP Toolkit

Defines the Error class

## Summary

Methods
Properties
Constants
__construct()
No public properties found
SETTINGS_FILE_NOT_FOUND
SETTINGS_INVALID_SYNTAX
SETTINGS_INVALID
METADATA_SP_INVALID
SP_CERTS_NOT_FOUND
CERT_NOT_FOUND
REDIRECT_INVALID_URL
PUBLIC_CERT_FILE_NOT_FOUND
PRIVATE_KEY_FILE_NOT_FOUND
SAML_RESPONSE_NOT_FOUND
SAML_LOGOUTMESSAGE_NOT_FOUND
SAML_LOGOUTREQUEST_INVALID
SAML_LOGOUTRESPONSE_INVALID
SAML_SINGLE_LOGOUT_NOT_SUPPORTED
PRIVATE_KEY_NOT_FOUND
UNSUPPORTED_SETTINGS_OBJECT
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

File
  Error.php
Package
  Default
Class hierarchy
  \Exception
  \OneLogin_Saml2_Error

## Tags

None found

## Constants

### SETTINGS_FILE_NOT_FOUND

    SETTINGS_FILE_NOT_FOUND

#

## Tags

None found

### SETTINGS_INVALID_SYNTAX

    SETTINGS_INVALID_SYNTAX

#

## Tags

None found

### SETTINGS_INVALID

    SETTINGS_INVALID

#

## Tags

None found

### METADATA_SP_INVALID

    METADATA_SP_INVALID

#

## Tags

None found

### SP_CERTS_NOT_FOUND

    SP_CERTS_NOT_FOUND

#

## Tags

None found

### CERT_NOT_FOUND

    CERT_NOT_FOUND

#

## Tags

None found

### REDIRECT_INVALID_URL

    REDIRECT_INVALID_URL

#

## Tags

None found

### PUBLIC_CERT_FILE_NOT_FOUND

    PUBLIC_CERT_FILE_NOT_FOUND

#

## Tags

None found

### PRIVATE_KEY_FILE_NOT_FOUND

    PRIVATE_KEY_FILE_NOT_FOUND

#

## Tags

None found

### SAML_RESPONSE_NOT_FOUND

    SAML_RESPONSE_NOT_FOUND

#

## Tags

None found

### SAML_LOGOUTMESSAGE_NOT_FOUND

    SAML_LOGOUTMESSAGE_NOT_FOUND

#

## Tags

None found

### SAML_LOGOUTREQUEST_INVALID

    SAML_LOGOUTREQUEST_INVALID

#

## Tags

None found

### SAML_LOGOUTRESPONSE_INVALID

    SAML_LOGOUTRESPONSE_INVALID

#

## Tags

None found

### SAML_SINGLE_LOGOUT_NOT_SUPPORTED

    SAML_SINGLE_LOGOUT_NOT_SUPPORTED

#

## Tags

None found

### PRIVATE_KEY_NOT_FOUND

    PRIVATE_KEY_NOT_FOUND

#

## Tags

None found

### UNSUPPORTED_SETTINGS_OBJECT

    UNSUPPORTED_SETTINGS_OBJECT

#

## Tags

None found

## Methods

### __construct()

    __construct(string  $msg, integer  $code, array|null  $args = null)

Constructor

#### Parameters

string | $msg | Describes the error.
integer | $code | The code error (defined in the error class).
array|null | $args | Arguments used in the message that describes the error.

#

## Tags

None found

### Error.php