for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @package Laztopaz\potato-ORM
* @author Temitope Olotin <[email protected]>
* @license <https://opensource.org/license/MIT> MIT
*/
namespace Laztopaz\potatoORM;
use Exception;
class TableFieldUndefinedException extends Exception {
public static function create($unExpectedFields, $message)
{
$fields = implode(", ", $unExpectedFields);
return new static($fields." ".$message);
}