Exception: Affine::AffineError
- Inherits:
-
StandardError
- Object
- StandardError
- Affine::AffineError
- Defined in:
- lib/affine/errors.rb
Overview
Parent class for Affine cipher errors.
This is a good kind of error to rescue when you’re not sure about the key, modulus, plaintext, or ciphertext and want to fail cleanly.