# FileOperationFailedEvent Interface

> FileOperationFailedEvent interface in the TX Sheet Control TypeScript API for the browser: Terminal notification for a started operation that rejects.

- **Product:** TX Sheet Control
- **Section:** Documentation
- **Kind:** Interface
- **Path:** TX Sheet Control > API Reference > TypeScript API > Browser Editor > FileOperationFailedEvent Interface
- **545 words**
- **Web URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/
- **LLMs URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/llms.txt
- **LLMs-Full URL:** https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/llms-full.txt

---

Terminal notification for a started operation that rejects. Success events are never emitted after this notification.

Package: `@txtextcontrol/tx-sheet-control`. Version: **2.0.0**.

Type-only declaration; it is not a JavaScript runtime constructor.

### Members

#### Properties

| Property | Description |
|---|---|
| [byteLength](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/bytelength-property/llms-full.txt) | Input or output byte count, when known. |
| [canceled](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/canceled-property/llms-full.txt) | The canceled value of FileOperationFailedEvent. |
| [code](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/code-property/llms-full.txt) | The code value of FileOperationFailedEvent. |
| [message](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/message-property/llms-full.txt) | The message value of FileOperationFailedEvent. |
| [operation](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/operation-property/llms-full.txt) | The operation value of FileOperationFailedEvent. |
| [operationId](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/operationid-property/llms-full.txt) | The operationId value of FileOperationFailedEvent. |
| [streamType](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/streamtype-property/llms-full.txt) | The streamType value of FileOperationFailedEvent. |

### Examples

Pass the FileOperationFailedEvent value obtained from its owning control, collection, callback or operation. The function reads that value without constructing a replacement document object.

```typescript
import type { FileOperationFailedEvent } from '@txtextcontrol/tx-sheet-control';

function inspectFileOperationFailedEventMessage(fileOperationFailedEvent: FileOperationFailedEvent) {
    const value = fileOperationFailedEvent['message'];
    console.log('FileOperationFailedEvent.message', value);
}
```

### See Also

- [TypeScript Browser Editor API](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/llms-full.txt)
- [Events and Cancellation](https://docs.textcontrol.com/tx-sheet-control/spreadsheet-editor/events/llms-full.txt)

---

## In This Section

- [FileOperationFailedEvent.byteLength Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/bytelength-property/llms-full.txt): FileOperationFailedEvent.byteLength property in the TX Sheet Control TypeScript API for the browser: Input or output byte count, when known.
- [FileOperationFailedEvent.canceled Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/canceled-property/llms-full.txt): FileOperationFailedEvent.canceled property in the TX Sheet Control TypeScript API for the browser, with its type boolean and a TypeScript example.
- [FileOperationFailedEvent.code Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/code-property/llms-full.txt): FileOperationFailedEvent.code property in the TX Sheet Control TypeScript API for the browser, with its type string | undefined and a TypeScript example.
- [FileOperationFailedEvent.message Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/message-property/llms-full.txt): FileOperationFailedEvent.message property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [FileOperationFailedEvent.operation Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/operation-property/llms-full.txt): FileOperationFailedEvent.operation property in the TX Sheet Control TypeScript API for the browser, with its type "load" | "save" and a TypeScript example.
- [FileOperationFailedEvent.operationId Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/operationid-property/llms-full.txt): FileOperationFailedEvent.operationId property in the TX Sheet Control TypeScript API for the browser, with its type string and a TypeScript example.
- [FileOperationFailedEvent.streamType Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/streamtype-property/llms-full.txt): FileOperationFailedEvent.streamType property in the TX Sheet Control TypeScript API for the browser, with its type StreamType and a TypeScript example.

---

## Nearby

- **Previous:** [FileOperationEvent.streamType Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationevent/streamtype-property/llms-full.txt)
- **Next:** [FileOperationFailedEvent.byteLength Property](https://docs.textcontrol.com/tx-sheet-control/reference/typescript-api/browser/fileoperationfailedevent/bytelength-property/llms-full.txt)
