added resource for error messages.