Commit 046fce52 authored by ZZZ[GONE] frebault's avatar ZZZ[GONE] frebault
Browse files

ggusExceptino

parent 3e5497db
<?php
namespace GGUSHelpdesk\Exceptions;
class TicketValidationException extends \Exception
{
function __construct($message, $code = null, $previous = null)
{
if($previous) {
$message = $message." : "."\n".$previous->getTraceAsString() ."\n".'Cause By '.$previous->getMessage();
}
parent::__construct('[TicketValidationException] '.$message, $code, $previous);
}
}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment