Skip to content

Commit 633874e

Browse files
authored
Merge pull request #510 from sparklemotion/flavorjones-remove-functionproxy-seterror
fix: remove `FunctionProxy#set_error`
2 parents d895934 + 039758f commit 633874e

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/sqlite3/database.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -719,12 +719,6 @@ def initialize
719719
@context = {}
720720
end
721721

722-
# Set the result of the function to the given error message.
723-
# The function will then return that error.
724-
def set_error(error)
725-
@driver.result_error(@func, error.to_s, -1)
726-
end
727-
728722
# Returns the value with the given key from the context. This is only
729723
# available to aggregate functions.
730724
def [](key)

0 commit comments

Comments
 (0)