REST::Neo4p::Exceptions - Exception::Class objects for REST::Neo4p
use REST::Neo4p; my $server = 'http:127.0.0.1:7474'; my $RETRIES = 3; my $e; do { eval { REST::Neo4p->connect($server); $RETRIES--; }; } while ( $e = Exception::Class->caught('REST::Neo4p::CommException') ); ref $e ? $e->rethrow : die $e if $e;
Base Class : REST::Neo4p::Exception
REST::Neo4p::CommException
Network and server communication errors. Method code() returns the HTTP status code.
code()
REST::Neo4p::LocalException
REST::Neo4p module-local errors.
REST::Neo4p::ClassOnlyException
Attempt to use a class-only method on a class instance.
REST::Neo4p::NotSuppException
Attempt to use a base method not supported in the subclass.
REST::Neo4p::NotImplException
Attempt to use a not yet implemented method.
REST::Neo4p::AbstractMethodException
Attempt to call a subclass-only method from a parent class.
REST::Neo4p::ConstraintException
Attempt to perform a database action that violates an application-level constraint (REST::Neo4p::Constrain, REST::Neo4p::Constraint).
REST::Neo4p::ConstraintSpecException
Attempt to create a new constraint with incorrect constraint syntax (REST::Neo4p::Constrain,REST::Neo4p::Constraint)
REST::Neo4p::Neo4jException
Exceptions and errors generated by the Neo4j server. Methods neo4j_message(), neo4j_stacktrace(), neo4j_exception() return server-generated info.
neo4j_message()
neo4j_stacktrace()
neo4j_exception()
REST::Neo4p::NotFoundException
Requested item not found in database.
REST::Neo4p::QuerySyntaxException
Bad query syntax (see REST::Neo4p::Query).
REST::Neo4p, Exception::Class
Mark A. Jensen CPAN ID: MAJENSEN TCGA DCC mark -dot- jensen -at- nih -dot- gov http://tcga-data.nci.nih.gov
Copyright (c) 2012 Mark A. Jensen. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install REST::Neo4p, copy and paste the appropriate command in to your terminal.
cpanm
cpanm REST::Neo4p
CPAN shell
perl -MCPAN -e shell install REST::Neo4p
For more information on module installation, please visit the detailed CPAN module installation guide.