class Net::IMAP::StringPrep::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::StringPrep::StringPrepError::new
# File net-imap-0.4.16/lib/net/imap/stringprep.rb, line 34 def initialize(table, *args, **kwargs) @table = table details = (title = Tables::TITLES[table]) ? "%s [%s]" % [title, table] : table message = "String contains a prohibited codepoint: %s" % [details] super(message, *args, **kwargs) end