File: pg_ldap_sync.rb

package info (click to toggle)
pg-ldap-sync 0.5.3-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 164 kB
  • sloc: ruby: 424; makefile: 4
file content (23 lines) | stat: -rw-r--r-- 417 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
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, error = nil)
      super(error)
      @exitcode = exitcode
    end
  end

  class InvalidConfig < ApplicationExit
  end

  class ErrorExit < ApplicationExit
  end
end