Documentation

Exceptions
in package

Local Exceptions handler class

Table of Contents

Properties

$ErreurCooldown  : string
$ErreurCustom  : string
$ErreurExtension  : string
$ErreurFichierVide  : string
$ErreurSession  : string
$ErreurSignature  : string

Methods

getErreurCooldown()  : string
Get the cooldown error
getErreurExtension()  : string
Get the extension file error
getErreurFichierVide()  : string
Get the empty file error
getErreurSession()  : string
Get the session error
getErreurSignature()  : string
setErreurCustom()  : string
Create a custom error

Properties

$ErreurCooldown

private static string $ErreurCooldown = "<p style='color:red; font-weight: 600;'>A cooldown is active!</p>"

Cooldown login error

$ErreurCustom

private static string $ErreurCustom

Error set by the method setErreurCustom($aCustomError)

$ErreurExtension

private static string $ErreurExtension = "<p style='color:red; font-weight: 600;'>Error, the file sent is not on the asked type !</p>"

Extension file error

$ErreurFichierVide

private static string $ErreurFichierVide = "<p style='color:red; font-weight: 600;'>Nothing has been sent !</p>"

Empty file error

$ErreurSession

private static string $ErreurSession = "<p style='color:red; font-weight: 600;'>The session is not valid !</p>"

Invalid session error

$ErreurSignature

private static string $ErreurSignature = "<p style='color:red; font-weight: 600;'>Error, the file sent is not on the right type for : "

File signature error

Methods

getErreurCooldown()

Get the cooldown error

public static getErreurCooldown() : string
Return values
string

The cooldown error

getErreurExtension()

Get the extension file error

public static getErreurExtension() : string
Return values
string

The extension file error

getErreurFichierVide()

Get the empty file error

public static getErreurFichierVide() : string
Return values
string

The empty file error

getErreurSession()

Get the session error

public static getErreurSession() : string
Return values
string

The session error

getErreurSignature()

public static getErreurSignature() : string
Return values
string

setErreurCustom()

Create a custom error

public static setErreurCustom(string $AnError) : string
Parameters
$AnError : string

Custom message

Return values
string

The output of the custom error


        
On this page

Search results