https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=21685
Bug ID: 21685
Summary: Name our exceptions consistently
Change sponsored?: ---
Product: Koha
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P5 - low
Component: Architecture, internals, and plumbing
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]
Few examples of inconsistencies:
*
Koha::Exceptions::WrongParameter
Koha::Exceptions::BadParameter
*
Koha::Exceptions::CannotDeleteDefault
Koha::Exceptions::Patron::FailedDelete
*
Koha::Exceptions::Account::IsNotCredit
Koha::Exceptions::Password::Invalid
=> IsNotCredit vs NotCredit
=> IsNotValid vs Invalid vs NotValid
*
Koha::Exceptions::DuplicateObject
Koha::Exceptions::Object::DuplicateID
It would be good a write a guideline and adapt existing occurrences.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
_______________________________________________
Koha-bugs mailing list
[email protected]
http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/