[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] | Reference for unit 'sysutils' (#rtl)

# Exception.ToString

Nicely formatted version of the exception message

## Declaration

Source position: sysutilh.inc line 122

`public function Exception.ToString: string; override;`

## Description

ToString overrides the ToString method to return a concatenation of classname and Exception.Message.

## See also

Exception.Message |  | Message associated with the exception.

Documentation generated on: May 14 2021