Set error or window

- Prevent execution halt