Clinton Gormley > Elasticsearch-1.05 > Elasticsearch::Error

Download:
Elasticsearch-1.05.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 1.05   Source  

NAME ^

Elasticsearch::Error - Errors thrown by Elasticsearch

VERSION ^

version 1.05

DESCRIPTION ^

Errors thrown by Elasticsearch are error objects, which can include a stack trace and information to help debug problems. An error object consists of the following:

    {
        type  => $type,              # eg Missing
        text  => 'Error message',
        vars  => {...},              # vars which may help to explain the error
        stack => [...],              # a stack trace
    }

The $Elasticsearch::Error::DEBUG variable can be set to 1 or 2 to increase the verbosity of errors.

ERROR CLASSES ^

The following error classes are defined:

AUTHOR ^

Clinton Gormley <drtech@cpan.org>

COPYRIGHT AND LICENSE ^

This software is Copyright (c) 2014 by Elasticsearch BV.

This is free software, licensed under:

  The Apache License, Version 2.0, January 2004
syntax highlighting: