def set_success(optional_message=""): raise Success(optional_message) def give_feedback(message): raise Feedback(message)