Packageorg.servebox.foundry.widget
Classpublic class WidgetError
InheritanceWidgetError Inheritance Error

A WidgetError is thrown if an error occurs in the Widget.



Public Properties
 PropertyDefined by
  code : int
The code of the error.
WidgetError
Public Methods
 MethodDefined by
  
WidgetError(message:String, code:int = 0)
Creates a new WidgetError.
WidgetError
Property detail
codeproperty
public var code:int

The code of the error.

Constructor detail
WidgetError()constructor
public function WidgetError(message:String, code:int = 0)

Creates a new WidgetError.

Parameters
message:String
 
code:int (default = 0)