lib/pg_ldap_sync.rb in pg-ldap-sync-0.1.1 vs lib/pg_ldap_sync.rb in pg-ldap-sync-0.2.0

- old
+ new

@@ -1,3 +1,21 @@ +require "pg_ldap_sync/application" +require "pg_ldap_sync/version" + module PgLdapSync - VERSION = '0.1.1' + class LdapError < RuntimeError + end + + class ApplicationExit < RuntimeError + attr_reader :exitcode + + def initialize(exitcode) + @exitcode = exitcode + end + end + + class InvalidConfig < ApplicationExit + end + + class ErrorExit < ApplicationExit + end end