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