REST.JsonReflect.EConversionError
Delphi
EConversionError = class(Exception);
C++
class PASCALIMPLEMENTATION EConversionError : public System::Sysutils::Exception
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | REST.JsonReflect.pas REST.JsonReflect.hpp |
REST.JsonReflect | REST.JsonReflect |
Description
Exception that raises when a process of conversion or reversion does not complete successfully.
This type of exception usually raises from the internal code of the converter or reverter. Your code can raise this type of exception when assumed pre-conditions are not met. For example, you may raise this type of exception if a field converter transforms the value into a string but the reverter is defined for an array.