error class : ExceptionData getter
Gets the data that has been attached to the exception by user.
|proxy||The data that has been attached to the exception by user.|
proxy attachedData = __error.ExceptionData;
An instance of the proxy type that is initialized in the accompanying data has been stored in this getter if a data has been attached to the thrown exception.
Links for reference