No description, website, or topics provided.
Perl Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
lib/Plack/Middleware/StackTrace
t
xt
.gitignore
Changes
MANIFEST
MANIFEST.SKIP
Makefile.PL
README.pod

README.pod

NAME

Plack::Middleware::StackTrace::ParseMessage - Extended StackTrace

SYNOPSIS

enable "StackTrace::ParseMessage";

DESCRIPTION

This is an extended class of Plack::Middleware::StackTrace for replacement. This retrieves file name and line number out of error messages and appends a stack entry for it.

This module is aimed at template engines who reports errors in template perspective so that the debug screen indicates where the error occurred inside template as follows.

function some_func not defined at /path/to/file/index.html line 13

10: <body>
11:     <div>
12:         <ul>
13:            <% some_func() %> <-- highlighted
14:         </ul>
15:     </div>
16: </body>

METHODS

call

SEE ALSO

Plack::Middleware::StackTrace

AUTHOR

Sugama Keita, <sugama@jamadam.com>

COPYRIGHT AND LICENSE

Copyright (C) 2011 by Sugama Keita.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.