mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 08:09:29 +02:00
* More verbose error for array with non-supported element type
git-svn-id: trunk@43993 -
This commit is contained in:
parent
d6894f2814
commit
5236f756d1
@ -717,7 +717,7 @@ begin
|
||||
TStringArray(AP)[I]:=AValue.Strings[i];
|
||||
end;
|
||||
else
|
||||
Raise ERESTAPI.CreateFmt('%s: unsupported array element type : %s',[ClassName,GetEnumName(TypeInfo(TTypeKind),Ord(ET^.Kind))]);
|
||||
Raise ERESTAPI.CreateFmt('%s: unsupported array element type for property of type %s: %s',[ClassName,AN,GetEnumName(TypeInfo(TTypeKind),Ord(ET^.Kind))]);
|
||||
end;
|
||||
end;
|
||||
end;
|
||||
|
Loading…
Reference in New Issue
Block a user