Skip to content

jamadam/Plack-Middleware-StackTrace-ParseMessage

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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, <[email protected]>

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages