Skip to content

Commit

Permalink
Merge pull request #510 from sparklemotion/flavorjones-remove-functio…
Browse files Browse the repository at this point in the history
…nproxy-seterror

fix: remove `FunctionProxy#set_error`
  • Loading branch information
flavorjones authored Mar 1, 2024
2 parents d895934 + 039758f commit 633874e
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 633874e

Please sign in to comment.