various error classes: added newlines & removed :nodoc: flag from public attribute.