---
title: "ZeyOS.TransactionContext"
description: "ZeyOS transaction context prototype."
canonical_url: "https://www.zeyos.com/zymba/ref/zeyos/zeyos-transactioncontext"
markdown_url: "https://www.zeyos.com/ai/guide/zymba/ref/zeyos/zeyos-transactioncontext.md"
section: "zymba-reference"
authority: "reference"
language: "en"
source_repository: "https://cloud.zeyos.com/__doc/zymbaref.json"
source_sha256: "05a361c6ddc32e74f4a6dc16fd06f218210ff1b7ce57f26ca1994bfffc407915"
---

# ZeyOS.TransactionContext

## ZeyOS.TransactionContext

```
object @ZeyOS.TransactionContext(@Base) {
	construct() {}
	enter() {}
	exit(mixed $exception) {}
}
```

**ZeyOS transaction context prototype.**

### Prototype

**[Base](#)**

## Methods


### `$this.construct()`


```code
$this.construct(): void
```




### `$this.enter()`


```code
$this.enter(): void
```




### `$this.exit()`


```code
$this.exit(mixed $exception): void
```

##### Parameters

| Name | Type | Value | Default |
| --- | --- | --- | --- |
| exception | `mixed`  |  | null |
