Throw exception when trying to serialize unknown types

This commit is contained in:
Daniil Gentili 2016-10-14 12:29:03 +02:00
parent 6798e2f4c1
commit e7da05e617

View File

@ -140,7 +140,9 @@ class TL
return $concat;
break;
default:
throw new Exception("Couldn't serialize param with type ".$type_);
break;
}
}