Exception: Ldapter::ServerError

Inherits:
Error
  • Object
show all
Defined in:
lib/ldapter/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.

Direct Known Subclasses

Errors::CompareFalse, Errors::CompareTrue, Errors::NoSuchObject

Instance Attribute Summary (collapse)

Instance Attribute Details

- (Object) code

Returns the value of attribute code



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

def code
  @code
end