Add case analysis function for Result type
Add case analysis function for Event type
Add Action.results and Action.errors