369 B
369 B
This task has two main parts, both described in the TODO comments:
- Implement the
Debug,Display, andErrortraits for theTicketNewErrorenum. You'll use thewrite!macro forDisplay. - Implement the
easy_ticketfunction. It should panic on invalid titles (using theTicketNewErrormessage) but use a default description for invalid descriptions.