I think this should be ```@!attribute```
``` ruby
# @!attribute [rw] The failure, if there was one.
#   @return [Exception, nil]
```
see:
http://rubydoc.info/gems/yard/file/docs/Tags.md#attribute

BTW, according to the docs ```@attr``` is deprecated...