Exception: BLS::Error
- Inherits:
-
StandardError
- Object
- StandardError
- BLS::Error
- Defined in:
- lib/bls/error.rb
Overview
Base class for everything this library raises about the data it was given, so that
rescue BLS::Error catches all of it.
A wrong type or arity is a mistake in the calling code rather than a fact about a key or a point, and still raises ArgumentError, as it would anywhere else in Ruby.