# RoomErrorLevel (/zh-CN/api-reference/whiteboard/whiteboard-sdk/web/enums/roomerrorlevel)

> For AI agents: see the complete documentation index at [llms.txt](/llms.txt).

```ts
export declare enum RoomErrorLevel {
    /**
     * 当无权写时执行写操作，则直接抛出错误
     */
    ThrowError = "throwError",
    /**
     * 当无权写时执行写操作，拦截操作，并在控制台打印警告
     */
    Warn = "warn",
    /**
     * 当无权写时执行写操作，拦截操作，什么也不做
     */
    Ignore = "ignore",
}
```

## 成员 [#成员]

- [ThrowError](/zh-CN/api-reference/whiteboard/whiteboard-sdk/web/enums/roomerrorlevel#throwerror)
- [Warn](/zh-CN/api-reference/whiteboard/whiteboard-sdk/web/enums/roomerrorlevel#warn)
- [Ignore](/zh-CN/api-reference/whiteboard/whiteboard-sdk/web/enums/roomerrorlevel#ignore)

<a id="throwerror"></a>

### ThrowError [#throwerror]

`ThrowError = "throwError";`

```text
当无权写时执行写操作，则直接抛出错误
```

<a id="warn"></a>

### Warn [#warn]

`Warn = "warn";`

```text
当无权写时执行写操作，拦截操作，并在控制台打印警告
```

<a id="ignore"></a>

### Ignore [#ignore]

`Ignore = "ignore";`

```text
当无权写时执行写操作，拦截操作，什么也不做
```
