Bug 25424 - Document our exceptions
Summary: Document our exceptions
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Developer documentation (show other bugs)
Version: unspecified
Hardware: All All
: P5 - low enhancement (vote)
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-05-08 11:20 UTC by Jonathan Druart
Modified: 2024-01-06 10:03 UTC (History)
1 user (show)

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Druart 2020-05-08 11:20:18 UTC
We should list our different exceptions and explain when to use them.

Maybe a wiki page?

Also the naming should be more consistent.
Comment 1 Katrin Fischer 2020-05-09 20:00:32 UTC
I'd love to see more and updated dev documentation on the wiki. We could update/enhance the Devbook (https://wiki.koha-community.org/wiki/Developer_handbook)
Comment 2 Katrin Fischer 2024-01-01 10:25:39 UTC
If you give me some more pointers, I or others might be able to help in writing this up.
Comment 3 Jonathan Druart 2024-01-04 09:21:45 UTC
What kind of pointers do you need?

We need to make Koha::Exceptions namespace more consistent: the naming, the tree, the display of the exception (parameter, errors, stacktrace), etc.
Comment 4 Katrin Fischer 2024-01-06 10:03:27 UTC
It sounds more like a clean-up than a documentation job.