Exception: Ldaptic::ServerError

Inherits:
Error
  • Object
show all
Defined in:
lib/ldaptic/errors.rb

Overview

All server errors are instances of this class. The error message and error code can be accessed with exception.message and exception.code respectively.

Instance Attribute Summary collapse

Instance Attribute Details

#codeObject

Returns the value of attribute code.



13
14
15
# File 'lib/ldaptic/errors.rb', line 13

def code
  @code
end