Commit 31400bb6 authored by ZZZ[GONE] frebault's avatar ZZZ[GONE] frebault
Browse files

add ggusException

parent 93ccac92
<?php
namespace GGUSHelpdesk\Exceptions;
class GgusObjectValidationException extends \Exception
{
function __construct($message, $code = null, $previous = null)
{
if($previous) {
$message = $message." : "."\n".$previous->getTraceAsString() ."\n".'Cause By '.$previous->getMessage();
}
parent::__construct('[GgusObjectValidationException] '.$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