Exception: Sanscript::DetectionError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sanscript/exceptions.rb

Overview

Error for when scheme detection should non-silently fail (such as inside a transliteration method).

Instance Method Summary collapse

Constructor Details

#initialize(message = "String detection failed.") ⇒ DetectionError

Returns a new instance of DetectionError.



15
16
17
# File 'lib/sanscript/exceptions.rb', line 15

def initialize(message = "String detection failed.")
  super
end