diff --git a/Enigma/Rotor.swift b/Enigma/Rotor.swift index d37a345..fa6c2a7 100644 --- a/Enigma/Rotor.swift +++ b/Enigma/Rotor.swift @@ -13,6 +13,7 @@ class Rotor { enum Error: ErrorType { /** Thrown when the initializer is given an invalid series. */ case InvalidSeries + /** Thrown when encode() encounters a character that is not in the alphabet. */ case InvalidCharacter }