Exception: Net::IMAP::SASL::ProhibitedCodepoint
Relationships & Source Files | |
Super Chains via Extension / Inclusion / Inheritance | |
Class Chain:
self,
StringPrepError ,
ArgumentError
|
|
Instance Chain:
self,
StringPrepError ,
ArgumentError
|
|
Inherits: |
Net::IMAP::SASL::StringPrepError
|
Defined in: | lib/net/imap/sasl.rb |
Overview
StringPrepError
raised when string
contains a codepoint prohibited by #table.
Class Method Summary
Instance Attribute Summary
Constructor Details
.new(table, *args, **kwargs) ⇒ ProhibitedCodepoint
# File '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 = "String contains a prohibited codepoint: %s" % [details] super(, *args, **kwargs) end
Instance Attribute Details
#table (readonly)
[ GitHub ]# File 'lib/net/imap/sasl.rb', line 46
attr_reader :table