AppError
in package
Clase AppError.php
Clase que representa un error producido voluntariamente. Clase que nos permite crear objetos de error.
Tags
Table of Contents
Properties
- $archivoError : mixed
- $codError : mixed
- $descError : mixed
- $lineaError : mixed
- $paginaSiguiente : mixed
Methods
- __construct() : mixed
- Function __construct Función constructor para poder crear un objeto Error.
- getArchivoError() : mixed
- Get the value of archivoError
- getCodError() : mixed
- Get the value of codError
- getDescError() : mixed
- Get the value of descError
- getLineaError() : mixed
- Get the value of lineaError
- getPaginaSiguiente() : mixed
- Get the value of paginaSiguiente
- setArchivoError() : self
- Set the value of archivoError
- setCodError() : self
- Set the value of codError
- setDescError() : self
- Set the value of descError
- setLineaError() : self
- Set the value of lineaError
- setPaginaSiguiente() : self
- Set the value of paginaSiguiente
Properties
$archivoError
private
mixed
$archivoError
$codError
private
mixed
$codError
$descError
private
mixed
$descError
$lineaError
private
mixed
$lineaError
$paginaSiguiente
private
mixed
$paginaSiguiente
Methods
__construct()
Function __construct Función constructor para poder crear un objeto Error.
public
__construct(string $codError, string $descError, string $archivoError, int $lineaError, mixed $paginaSiguiente) : mixed
Parameters
- $codError : string
-
Cadena del código de error.
- $descError : string
-
Cadena con la descripción del error.
- $archivoError : string
-
Cadena con el archivo del error.
- $lineaError : int
-
número de línea donde ha ocurrido el error.
- $paginaSiguiente : mixed
Tags
getArchivoError()
Get the value of archivoError
public
getArchivoError() : mixed
getCodError()
Get the value of codError
public
getCodError() : mixed
getDescError()
Get the value of descError
public
getDescError() : mixed
getLineaError()
Get the value of lineaError
public
getLineaError() : mixed
getPaginaSiguiente()
Get the value of paginaSiguiente
public
getPaginaSiguiente() : mixed
setArchivoError()
Set the value of archivoError
public
setArchivoError(mixed $archivoError) : self
Parameters
- $archivoError : mixed
Return values
selfsetCodError()
Set the value of codError
public
setCodError(mixed $codError) : self
Parameters
- $codError : mixed
Return values
selfsetDescError()
Set the value of descError
public
setDescError(mixed $descError) : self
Parameters
- $descError : mixed
Return values
selfsetLineaError()
Set the value of lineaError
public
setLineaError(mixed $lineaError) : self
Parameters
- $lineaError : mixed
Return values
selfsetPaginaSiguiente()
Set the value of paginaSiguiente
public
setPaginaSiguiente(mixed $paginaSiguiente) : self
Parameters
- $paginaSiguiente : mixed