lib/mongo/crypt/context/context.rb
# Raise a Mongo::Error::CryptError based on the status of the underlying
# mongocrypt_ctx_t object
Raise a Mongo::Error::CryptError based on the status of the underlying
mongocrypt_ctx_t object
Raise a Mongo :: Error :: CryptError based on the status of the underlying mongocrypt_ctx_t object
def raise_from_status
        status = Status.new
        Binding.mongocrypt_ctx_status(@ctx, status.ref)
        status.raise_crypt_error
      end
def raise_from_status status = Status . new Binding . mongocrypt_ctx_status ( @ctx , status . ref ) status . raise_crypt_error end
Raise a Mongo::Error::CryptError based on the status of the underlying
mongocrypt_ctx_t object
Raise a Mongo :: Error :: CryptError based on the status of the underlying mongocrypt_ctx_t object