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

# EWriteError

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

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

## Declaration

`type EWriteError = class(EFilerError) end;`

## 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`
?
`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.