From 039758f524f443fd82a47b9a9d218f11e2d7d3e6 Mon Sep 17 00:00:00 2001 From: Mike Dalessio Date: Fri, 1 Mar 2024 14:38:08 -0500 Subject: [PATCH] fix: remove FunctionProxy#set_error See related #509 Fixes #164 --- lib/sqlite3/database.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/sqlite3/database.rb b/lib/sqlite3/database.rb index 8fa8730d..0db72547 100644 --- a/lib/sqlite3/database.rb +++ b/lib/sqlite3/database.rb @@ -719,12 +719,6 @@ def initialize @context = {} end - # Set the result of the function to the given error message. - # The function will then return that error. - def set_error(error) - @driver.result_error(@func, error.to_s, -1) - end - # Returns the value with the given key from the context. This is only # available to aggregate functions. def [](key)