Closed etscrivner closed 5 years ago
Closes #41 by adding the following exception hierarchy under the Secp256k1 module:
Error < StandardError ├── SerializationError ├── DeserializationError
These exceptions are then used to replace most occurrences of ArgumentError and RuntimeError. This will help packages using the library to isolate their exception handling code to just those exceptions raised by the library itself.
ArgumentError
RuntimeError
Closes #41 by adding the following exception hierarchy under the Secp256k1 module:
These exceptions are then used to replace most occurrences of
ArgumentError
andRuntimeError
. This will help packages using the library to isolate their exception handling code to just those exceptions raised by the library itself.