Magrathea PHP 2

MagratheaDBException extends MagratheaException
in package

Class for Magrathea DB Errors

Table of Contents

Properties

$_data  : mixed
$fullMessage  : mixed
$killerError  : mixed
$msg  : mixed
$query  : mixed
$values  : mixed

Methods

__construct()  : mixed
__toString()  : mixed
CleanErrorMessage()  : string
Cleans an error message
display()  : mixed
GetData()  : mixed
getFullMessage()  : string
returns the error message before cleaning stack trace
getMsg()  : mixed
SetData()  : MagratheaApiException
Set data
SetQueryData()  : MagratheaDBException
Adds data for debugging
stackTrace()  : mixed

Properties

Methods

__construct()

public __construct([mixed $message = "Magrathea Database has failed... =(" ][, mixed $query = null ][, mixed $code = 0 ][, Exception $previous = null ]) : mixed
Parameters
$message : mixed = "Magrathea Database has failed... =("
$query : mixed = null
$code : mixed = 0
$previous : Exception = null

CleanErrorMessage()

Cleans an error message

public CleanErrorMessage(string $errorMessage) : string
Parameters
$errorMessage : string
Return values
string

error message without stack trace

getFullMessage()

returns the error message before cleaning stack trace

public getFullMessage() : string
Return values
string

full error Message


        
On this page

Search results