cartalyst/sentry — pull request #48 by arbme (2012-01-21 02:03:12+00:00)
Title: Added group_exists() from Sentry class.

Added group_exists() from Sentry class to avoid exceptions as DB class is not loaded and static::table is protected.

Also when you try and add a group that already exists you get 'The group name "name" already exists.'. I think you should check this as "name" should be the group name and is static, so probably the same for other messages.

Hope this helps.