Skip to content

Commit

Permalink
fix: remove FunctionProxy#set_error
Browse files Browse the repository at this point in the history
See related #509

Fixes #164
  • Loading branch information
flavorjones committed Mar 1, 2024
1 parent d895934 commit 039758f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/sqlite3/database.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 039758f

Please sign in to comment.