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

# EWriteError

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Exception raised when an error occurs during writing to a stream.

## Declaration

Source position: classesh.inc line 130

`type EWriteError = class(EFilerError)`

## Inheritance

`EWriteError` |  | Exception raised when an error occurs during writing to a stream.
`EFilerError` |  | Exception raised by the component streaming system if an error occurs.
`EStreamError` |  | Exception raised when an error occurs during read or write operations on a stream.
`Exception` |  | Base class of all exceptions.
`TObject`

## Description

If an error occurs when writing to a stream, a EWriteError exception is raised. Possible causes for this are:

1. The stream doesn't allow writing.
2. An error occurred when writing a property to a stream.

## See also

EFilerError |  | Exception raised by the component streaming system if an error occurs.
EReadError |  | Exception raised if an error occurs while reading from a stream.