surrealcs_kernel::utils::generic

Function check_key_already_exists

source
pub fn check_key_already_exists(error: &NanoServiceError) -> bool
Expand description

Checks if the key already exists.

§Arguments

  • error: The error to check

§Returns

  • bool: True if the condition is not met, false otherwise