git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [RFC PATCH 0/2] gitweb: die_error (error handling) improvements

From
Jakub Narebski <jnareb@gmail.com>
Date
Dec 13, 2010, 09:46 UTC
Message-ID
<201012131046.38725.jnareb@gmail.com>
In-Reply-To
<201012130855.23013.jnareb@gmail.com>
On Mon, 13 Dec 2010, Jakub Narebski wrote:
> Nevertheless I'll take a look how it is solved in other web applications
> written in Perl, like SVN::Web or CPAN Hubble.

SVN::Web uses eval / die... well, it uses SVN::Web::X->throw() instead of "die" for error handling (SVN::Web::X is based on Exception::Class; other class to use for exceprion handling is Throwable but it requires Moose). For errors early in the process it just uses "die".

-- 
Jakub Narebski
Poland
Previous: Jakub Narebski
Message 6 of 6 in “gitweb: die_error (error handling) improvements”
  1. 0/2 gitweb: die_error (error handling) improvementsJakub Narebski, Dec 13, 2010
  2. 1/2 gitweb: Go to DONE_REQUEST rather than DONE_GITWEB in die_errorJakub Narebski, Dec 13, 2010
  3. 2/2 gitweb: use eval + die for error (exception) handlingJakub Narebski, Dec 13, 2010
  4. J.H.Dec 13, 2010
  5. Jakub NarebskiDec 13, 2010
  6. Jakub NarebskiDec 13, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.