I'm in the process of creating an OpenTelemetry Gem for ruby-oci8. One of the things that's adding a lot of complication is the fact that OCIError isn't any type of Error, it's just a basic Class.
This PR changes OCIError to inherit from StandardError. This should make it easier for tools to catch and do something with them when they're raised.
I'm in the process of creating an OpenTelemetry Gem for
ruby-oci8
. One of the things that's adding a lot of complication is the fact thatOCIError
isn't any type of Error, it's just a basic Class.This PR changes
OCIError
to inherit fromStandardError
. This should make it easier for tools to catch and do something with them when they're raised.