Writeable.WriteError

From Xojo Documentation

Method

Writeable.WriteError() As Boolean

Supported for all project types and targets.

Returns True if there were any errors in the write operation.

Example

If writeStream.WriteError Then
MsgBox(Str(writeStream.LastErrorCode))
End If