Subversion Repository Public Repository

paulsmarketingbook

This repository has no backups
This repository's network speed is throttled to 100KB/sec

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<?php namespace CodeIgniter\Exceptions;

/**
 * Model Exceptions.
 */

class ModelException extends FrameworkException
{
	public static function forNoPrimaryKey(string $modelName)
	{
		return new static(lang('Database.noPrimaryKey', [$modelName]));
	}

	public static function forNoDateFormat(string $modelName)
	{
		return new static(lang('Database.noDateFormat', [$modelName]));
	}
}

Commits for paulsmarketingbook/trunk/system/Exceptions/ModelException.php

Diff revisions: vs.
Revision Author Commited Message
2 tporter picture tporter Mon 02 Nov, 2020 15:58:52 +0000

Migrated over to Codeignitor 4 codebase. Refactored code.