class MailControl::InvalidField

This error is raised when trying to store a field that doesn't exist

Example:

InvalidField.new('field_name')

Attributes

message[R]

Public Class Methods

new(message) click to toggle source
# File lib/mail-control/errors.rb, line 32
def initialize message
  @message = "Invalid Field: #{message}"
end