| Net-LDAPxs documentation | view source | Contained in the Net-LDAPxs distribution. |
Net::LDAPxs::Exception - Object handling the exceptions
use Net::LDAPxs; $mesg = $ldap->search( $dn, password => "secret" ); die $mesg->errstr if $mesg->err;
When exception happens, a Net::LDAPxs::Exception object is returned from the methods of a Net::LDAPxs object. It is used for displaying both error codes and error messages sent from LDAP server.
This method is for detecting whether there is an exception.
Method errstr is in charge of displaying the error messages sent
from the LDAP server.
Pan Yu <xiaocong@vip.163.com>
Copyright (C) 2008-2010 by Pan Yu. All rights reserved.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
| Net-LDAPxs documentation | view source | Contained in the Net-LDAPxs distribution. |