pub type SignerSignHashWithPrivateKeyResult = Result<Vec<u8>, ErrorCode>;
enum SignerSignHashWithPrivateKeyResult { Ok(Vec<u8>), Err(ErrorCode), }
Contains the success value
Contains the error value