Exception: Sanscript::SchemeNotSupportedError

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

Overview

Error for when transliteration scheme is not supported.

Instance Method Summary collapse

Constructor Details

#initialize(scheme = :unknown) ⇒ SchemeNotSupportedError

Returns a new instance of SchemeNotSupportedError.



6
7
8
# File 'lib/sanscript/exceptions.rb', line 6

def initialize(scheme = :unknown)
  super(":#{scheme} is not supported.")
end