horaedb
horaedb copied to clipboard
refactor: coderr package
Rationale
Close #1501 Current coderr package's usage is complex and confusing.
Detailed Changes
- Introduce the
CodeErrorDefwhich is made different from theCodeError - Update the usage of the error definition and creation.
Test Plan
Pass the existing CI.