`require('sets')` at the top, then replace this with:
```lua
fail_message = S{7208, 7250, 7227, 7536, 7194, 7682, 7198, 7256, 7216, 7035}
```
And later in the code use it like this:
```lua
if fail_message:contains(msg) then
    -- Code
end
```