class TanukiEmoji::AlphaCodeAlreadyIndexedError

Error: An Emoji with the same alpha code has been previously indexed

Attributes

alpha_code[R]
name[R]

Public Class Methods

new(name, alpha_code) click to toggle source

@param [String] name @param [String] alpha_code

Calls superclass method
# File lib/tanuki_emoji/errors.rb, line 12
def initialize(name, alpha_code)
  @name = name
  @alpha_code = alpha_code

  message = "Cannot index Emoji '#{name}' with alpha code '#{alpha_code}'. " \
            "An Emoji with that alpha code has already been indexed."

  super(message)
end