pub type PayResult<T> = Result<T, PayError>;
enum PayResult<T> { Ok(T), Err(Error<PayErrorCode>), }
Contains the success value
Contains the error value