Function solana_randomness_service::solana_randomness_service::simple_randomness_v1_callback_error
source · pub fn simple_randomness_v1_callback_error<'a>(
ctx: Ctx<'_, 'a, SimpleRandomnessV1CallbackError<'a>>,
error_message: String
) -> Result<()>
Expand description
Sets the error message for a randomness request. This provides visibility to the user that the request failed off-chain.