Exception: PgLdapSync::ApplicationExit

Inherits:
RuntimeError
  • Object
show all
Defined in:
lib/pgls.rb

Direct Known Subclasses

ErrorExit, InvalidConfig

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(exitcode, error = nil) ⇒ ApplicationExit

Returns a new instance of ApplicationExit.



12
13
14
15
# File 'lib/pgls.rb', line 12

def initialize(exitcode, error=nil)
  super(error)
  @exitcode = exitcode
end

Instance Attribute Details

#exitcodeObject (readonly)

Returns the value of attribute exitcode.



10
11
12
# File 'lib/pgls.rb', line 10

def exitcode
  @exitcode
end