InvalidFieldException.php 394 Bytes
Newer Older
ZZZ[GONE] frebault's avatar
ZZZ[GONE] frebault committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<?php

namespace GGUSHelpdesk\Exceptions;

class InvalidFieldException extends \Exception 
{
    function __construct($message, $code = null, $previous = null) 
    {
    	if($previous) {
    		$message = $message." : "."\n".$previous->getTraceAsString() ."\n".'from '.$previous->getMessage();	
		}
     	parent::__construct('[InvalidFieldException] '.$message, $code, $previous);
    }
    
15
}