Exception: AdLint::InvalidMessageFormatError

Inherits:
Error
  • Object
show all
Defined in:
lib/adlint/error.rb

Instance Attribute Summary

Attributes inherited from Error

#location, #parts

Instance Method Summary collapse

Constructor Details

#initialize(msg_id, loc = nil) ⇒ InvalidMessageFormatError

Returns a new instance of InvalidMessageFormatError.



121
122
123
# File 'lib/adlint/error.rb', line 121

def initialize(msg_id, loc = nil)
  super(msg_id.message_name, loc, msg_id.package_name, msg_id.message_name)
end

Instance Method Details

#message_nameObject



125
126
127
# File 'lib/adlint/error.rb', line 125

def message_name
  :X0004
end