Maybe like this?

```
if e.message == 'key length too short'
  raise ActionViewHelperError, 'Invalid encryption key.'
else
  raise
end
```