pub type VoteResult<T> = Result<T, VoteError>;
enum VoteResult<T> { Ok(T), Err(VoteError), }
Contains the success value
Contains the error value