---
agentTools:
  projectIndex: https://docs.rainway.com/llms.txt
---

# .NET SDK - Error

# Error enumeration

Rainway SDK error codes

```csharp
public enum Error
```

## Values

| name                         | value | description                                                                     |
| ---------------------------- | ----- | ------------------------------------------------------------------------------- |
| Success                      | `0`   | Indicates a successful operation                                                |
| Failure                      | `1`   | Indicates a failed operation                                                    |
| PeerNotCapableOfAppIsolation | `2`   | Indicates a peer is not capable of using app isolation                          |
| InvalidParameter             | `3`   | An invalid argument was provided to one of the call's parameters.               |
| NoSuchStream                 | `4`   | There is no active stream with the given Stream ID.                             |
| NotByofb                     | `5`   | The Stream ID provided is not a BYOFB stream.                                   |
| ByofbNotReady                | `6`   | The underlying session of a BYOFB stream is not ready.                          |
| NoEncoderVariant             | `7`   | No encoder is available to stream with.                                         |
| InvalidTextureFormat         | `8`   | The submitted video frame data is in an invalid format.                         |
| InvalidCallback              | `9`   | The callback provides is invalid.                                               |
| NotInitialized               | `10`  | The SDK has not been initialized.                                               |
| NoSuchPeer                   | `11`  | There is no active peer with the given Peer ID.                                 |
| NoSuchConnection             | `12`  | There is no active connection with the given ID.                                |
| BufferTooSmall               | `13`  | The input buffer is too small for the data. Please allocate a larger structure. |

## See Also

* namespace [Rainway.SDK](./net-sdk)