Documentation

AppError
in package

Clase AppError.php

Clase que representa un error producido voluntariamente. Clase que nos permite crear objetos de error.

Tags
author

Alejandro De la Huerga.

since
14/01/2026.
version
1.0.0

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

$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
since
14/01/2026
author

Alejandro De la Huerga Fernández.

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
self

setCodError()

Set the value of codError

public setCodError(mixed $codError) : self
Parameters
$codError : mixed
Return values
self

setDescError()

Set the value of descError

public setDescError(mixed $descError) : self
Parameters
$descError : mixed
Return values
self

setLineaError()

Set the value of lineaError

public setLineaError(mixed $lineaError) : self
Parameters
$lineaError : mixed
Return values
self

setPaginaSiguiente()

Set the value of paginaSiguiente

public setPaginaSiguiente(mixed $paginaSiguiente) : self
Parameters
$paginaSiguiente : mixed
Return values
self

        
On this page

Search results