diff options
author | Joey Hess <joey@gnu.kitenet.net> | 2009-04-23 14:07:28 -0400 |
---|---|---|
committer | Joey Hess <joey@gnu.kitenet.net> | 2009-04-23 14:07:28 -0400 |
commit | 748aa7af777caaa32ac5ab56e707509b3739b49e (patch) | |
tree | e5ab8791c45420d114efee9df68cee2ef8181478 /IkiWiki/Plugin/prettydate.pm | |
parent | 2c74f09bb870c717669f273ba7d4aa1637dcccf1 (diff) |
pagespec error/failure distinction and error display by inline
* Add IkiWiki::ErrorReason objects, and modify pagespecs to return
them in cases where they fail to match due to a configuration or syntax
error.
* inline: Display a handy error message if the inline cannot display any
pages due to such an error.
This is perhaps somewhat incomplete, as other users of pagespecs do not
display the error, and will eventually need similar modifications to inline.
I should probably factor out a pagespec_match_all function and make it throw
ErrorReasons.
Diffstat (limited to 'IkiWiki/Plugin/prettydate.pm')
0 files changed, 0 insertions, 0 deletions