Added short forms for class snippets.
Added snippet for an error class.