23 lines
385 B
Ruby
23 lines
385 B
Ruby
require "pg_ldap_sync/application"
|
|
require "pg_ldap_sync/compat"
|
|
require "pg_ldap_sync/version"
|
|
|
|
module PgLdapSync
|
|
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
|