Better exceptions

This commit is contained in:
Daniil Gentili 2017-08-08 23:25:45 +02:00 committed by GitHub
parent d78c926d9f
commit 5ee47f3d89

View File

@ -349,7 +349,7 @@ trait TL
$constructorData = $this->constructors->find_by_predicate($type['type'], $layer);
if ($constructorData === false) {
throw new Exception('Predicate was not set!');
throw new Exception('Predicate (value under _) was not set!');
}
$auto = true;
$object['_'] = $constructorData['predicate'];