KwIO.Error

Print a error message to a specific frame. If the frame is not defined and the addon ABugCatcher is installed the error is added to the ABugCatcher error list. If the frame is not defined and the addon is not installed the error is printed to the DEFAULT_CHAT_FRAME.

The color of the error message is red.

The error format is: [addon]-Error:[msg]

Arguments

 * msg
 * string - The message to print.
 * addon
 * string - The name of the addon.
 * frameName
 * frame - The frame to print to. Leave nil to print to DEFAULT_CHAT_FRAME

Returns

 * nil
 * void - A method call without return value.

Example
kwIO.Error("Example","Example",DEFAULT_CHAT_FRAME)