class Net::IMAP::SASL::ProhibitedCodepoint

StringPrepError raised when string contains a codepoint prohibited by table.

Attributes

table[R]

Public Class Methods

new(table, *args, **kwargs) click to toggle source
Calls superclass method Net::IMAP::SASL::StringPrepError::new
# File net-imap-0.3.7/lib/net/imap/sasl.rb, line 48
def initialize(table, *args, **kwargs)
  @table = -table.to_str
  details = (title = StringPrep::TABLE_TITLES[table]) ?
    "%s [%s]" % [title, table] : table
  message = "String contains a prohibited codepoint: %s" % [details]
  super(message, *args, **kwargs)
end