lib/mongo/crypt/handle.rb
def raise_from_status
        status = Status.new

        Binding.mongocrypt_status(@mongocrypt, status.ref)
        status.raise_crypt_error
      end
# Raise a Mongo::Error::CryptError based on the status of the underlying
# mongocrypt_t object
Raise a Mongo::Error::CryptError based on the status of the underlying
mongocrypt_t object
Raise a Mongo :: Error :: CryptError based on the status of the underlying mongocrypt_t object
def raise_from_status
        status = Status.new
        Binding.mongocrypt_status(@mongocrypt, status.ref)
        status.raise_crypt_error
      end
def raise_from_status status = Status . new Binding . mongocrypt_status ( @mongocrypt , status . ref ) status . raise_crypt_error end
Raise a Mongo::Error::CryptError based on the status of the underlying
mongocrypt_t object
Raise a Mongo :: Error :: CryptError based on the status of the underlying mongocrypt_t object